Update app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,7 @@ def fine_tune_model(base_model_id, dataset):
|
|
68 |
save_on_each_node=True,
|
69 |
load_best_model_at_end=True,
|
70 |
eval_strategy="steps",
|
|
|
71 |
)
|
72 |
|
73 |
# Create Trainer instance
|
|
|
68 |
save_on_each_node=True,
|
69 |
load_best_model_at_end=True,
|
70 |
eval_strategy="steps",
|
71 |
+
gradient_checkpointing=True,
|
72 |
)
|
73 |
|
74 |
# Create Trainer instance
|