Update app.py
Browse files
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=
|
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 |
|