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