bstraehle commited on
Commit
67ecd94
1 Parent(s): 2411c9e

Update app.py

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