bstraehle commited on
Commit
cc25295
1 Parent(s): bd74e71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def fine_tune_model(base_model_name, dataset_name):
81
  training_args = Seq2SeqTrainingArguments(
82
  output_dir=f"./{FT_MODEL_NAME}",
83
  num_train_epochs=3, # 37,500 steps
84
- max_steps=1, # overwrites num_train_epochs
85
  # TODO https://huggingface.co/docs/transformers/main_classes/trainer#transformers.Seq2SeqTrainingArguments
86
  )
87
 
 
81
  training_args = Seq2SeqTrainingArguments(
82
  output_dir=f"./{FT_MODEL_NAME}",
83
  num_train_epochs=3, # 37,500 steps
84
+ max_steps=3, # overwrites num_train_epochs
85
  # TODO https://huggingface.co/docs/transformers/main_classes/trainer#transformers.Seq2SeqTrainingArguments
86
  )
87