Kevin Fink commited on
Commit
0a331d7
·
1 Parent(s): a67d62e
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -70,9 +70,9 @@ def fine_tune_model(model, dataset_name, hub_id, api_key, num_epochs, batch_size
70
  weight_decay=0.01,
71
  #gradient_accumulation_steps=int(grad),
72
  #max_grad_norm = 3.0,
73
- load_best_model_at_end=True,
74
- metric_for_best_model="accuracy",
75
- greater_is_better=True,
76
  logging_dir='/data/logs',
77
  logging_steps=200,
78
  #push_to_hub=True,
 
70
  weight_decay=0.01,
71
  #gradient_accumulation_steps=int(grad),
72
  #max_grad_norm = 3.0,
73
+ #load_best_model_at_end=True,
74
+ #metric_for_best_model="accuracy",
75
+ #greater_is_better=True,
76
  logging_dir='/data/logs',
77
  logging_steps=200,
78
  #push_to_hub=True,