Spaces:
Running
Running
fix: eval_strategy (was evaluation_strategy) — correct Space path this time
Browse files- hf_pipeline/trainer.py +1 -1
hf_pipeline/trainer.py
CHANGED
|
@@ -251,7 +251,7 @@ def fine_tune_marbert(
|
|
| 251 |
learning_rate=lr,
|
| 252 |
warmup_ratio=warmup_ratio,
|
| 253 |
weight_decay=weight_decay,
|
| 254 |
-
|
| 255 |
save_strategy="epoch",
|
| 256 |
load_best_model_at_end=True,
|
| 257 |
metric_for_best_model="f1",
|
|
|
|
| 251 |
learning_rate=lr,
|
| 252 |
warmup_ratio=warmup_ratio,
|
| 253 |
weight_decay=weight_decay,
|
| 254 |
+
eval_strategy="epoch",
|
| 255 |
save_strategy="epoch",
|
| 256 |
load_best_model_at_end=True,
|
| 257 |
metric_for_best_model="f1",
|