asahi417 commited on
Commit
1393167
·
1 Parent(s): 5f7019e
Files changed (1) hide show
  1. training_scripts/finetune_t5.py +0 -1
training_scripts/finetune_t5.py CHANGED
@@ -235,7 +235,6 @@ def train(
235
  model.push_to_hub(model_alias, **args)
236
  tokenizer.push_to_hub(model_alias, **args)
237
  repo = Repository(model_alias, f'{model_organization}/{model_alias}')
238
- copyfile(f'{output_dir}/best_model/hyperparameters.json', f'{model_alias}/hyperparameters.json')
239
  if os.path.exists(f'{output_dir}/best_model/prediction_test.txt'):
240
  copyfile(f'{output_dir}/best_model/prediction_test.txt', f'{model_alias}/prediction_test.txt')
241
  if os.path.exists(f'{output_dir}/best_model/evaluation_metrics.json'):
 
235
  model.push_to_hub(model_alias, **args)
236
  tokenizer.push_to_hub(model_alias, **args)
237
  repo = Repository(model_alias, f'{model_organization}/{model_alias}')
 
238
  if os.path.exists(f'{output_dir}/best_model/prediction_test.txt'):
239
  copyfile(f'{output_dir}/best_model/prediction_test.txt', f'{model_alias}/prediction_test.txt')
240
  if os.path.exists(f'{output_dir}/best_model/evaluation_metrics.json'):