Kevin Fink
commited on
Commit
·
5500a71
1
Parent(s):
c850f94
deve
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def fine_tune_model(model, dataset_name, hub_id, api_key, num_epochs, batch_size
|
|
81 |
#gradient_accumulation_steps=int(grad),
|
82 |
#max_grad_norm = 3.0,
|
83 |
load_best_model_at_end=True,
|
84 |
-
metric_for_best_model="
|
85 |
greater_is_better=True,
|
86 |
logging_dir='/data/logs',
|
87 |
logging_steps=200,
|
|
|
81 |
#gradient_accumulation_steps=int(grad),
|
82 |
#max_grad_norm = 3.0,
|
83 |
load_best_model_at_end=True,
|
84 |
+
metric_for_best_model="loss",
|
85 |
greater_is_better=True,
|
86 |
logging_dir='/data/logs',
|
87 |
logging_steps=200,
|