Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -21,7 +21,7 @@ def fine_tune_model(model, tokenizer, dataset, output_dir="./summarization_model
|
|
21 |
per_device_eval_batch_size=4,
|
22 |
gradient_accumulation_steps=4,
|
23 |
learning_rate=5e-5,
|
24 |
-
num_train_epochs=
|
25 |
save_strategy="epoch",
|
26 |
eval_strategy="epoch",
|
27 |
load_best_model_at_end=True,
|
|
|
21 |
per_device_eval_batch_size=4,
|
22 |
gradient_accumulation_steps=4,
|
23 |
learning_rate=5e-5,
|
24 |
+
num_train_epochs=6,
|
25 |
save_strategy="epoch",
|
26 |
eval_strategy="epoch",
|
27 |
load_best_model_at_end=True,
|