Datasets:

Languages:
English
ArXiv:
License:
asahi417 commited on
Commit
911f874
1 Parent(s): 51db099

Update lm_finetuning.py

Browse files
Files changed (1) hide show
  1. lm_finetuning.py +1 -1
lm_finetuning.py CHANGED
@@ -191,7 +191,7 @@ def main():
191
  trainer.save_model(pj(opt.output_dir, 'best_model'))
192
  best_model_path = pj(opt.output_dir, 'best_model')
193
  else:
194
- best_model_path = opt.output_dir
195
 
196
  # evaluation
197
  model = AutoModelForSequenceClassification.from_pretrained(
 
191
  trainer.save_model(pj(opt.output_dir, 'best_model'))
192
  best_model_path = pj(opt.output_dir, 'best_model')
193
  else:
194
+ best_model_path = pj(opt.output_dir, 'best_model')
195
 
196
  # evaluation
197
  model = AutoModelForSequenceClassification.from_pretrained(