Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def summarize():
|
|
86 |
gradient_accumulation_steps=4 # Effective larger batch size
|
87 |
)"""
|
88 |
|
89 |
-
training_args =
|
90 |
output_dir="./tmp_test", # Temporary output directory
|
91 |
max_steps=2, # Run only 2 steps
|
92 |
per_device_train_batch_size=1, # Smallest batch size
|
|
|
86 |
gradient_accumulation_steps=4 # Effective larger batch size
|
87 |
)"""
|
88 |
|
89 |
+
training_args = Seq2SeqTrainingArguments(
|
90 |
output_dir="./tmp_test", # Temporary output directory
|
91 |
max_steps=2, # Run only 2 steps
|
92 |
per_device_train_batch_size=1, # Smallest batch size
|