You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run this code, training start from scratch. My question is that is there any flag to fine-tune the mt5 model instead of training from scratch?
The text was updated successfully, but these errors were encountered:
farshadfiruzi
changed the title
Is there any option for fine-tuning mt5 models instead of train from scratch?
Is there any option for fine-tuning mt5 models instead of training from scratch?
Jul 26, 2021
Hi,
Thanks for the amazing simpleT5 package. I use the following script to train a mt5 model for summarization task.
from simplet5 import SimpleT5
model = SimpleT5()
model.from_pretrained(model_type="mt5", model_name="google/mt5-small")
model.train(train_df=train_df, eval_df=test_df, source_max_token_len=256, target_max_token_len=64, batch_size=8, max_epochs=3, use_gpu=True, outputdir = "outputs", early_stopping_patience_epochs = 0, )
When I run this code, training start from scratch. My question is that is there any flag to fine-tune the mt5 model instead of training from scratch?
The text was updated successfully, but these errors were encountered: