Kevin Fink commited on
Commit
12c1a6f
·
1 Parent(s): 6d2d54c
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -226,8 +226,8 @@ def fine_tune_model(model, dataset_name, hub_id, api_key, num_epochs, batch_size
226
  trainer = Trainer(
227
  model=model,
228
  args=training_args,
229
- train_dataset=train_set['train'],
230
- eval_dataset=train_set['validation'],
231
  compute_metrics=compute_metrics,
232
  #data_collator=data_collator,
233
  processing_class=tokenizer,
 
226
  trainer = Trainer(
227
  model=model,
228
  args=training_args,
229
+ train_dataset=dataset['train'],
230
+ eval_dataset=dataset['validation'],
231
  compute_metrics=compute_metrics,
232
  #data_collator=data_collator,
233
  processing_class=tokenizer,