Skip to content

Commit

Permalink
fix similar to #194
Browse files Browse the repository at this point in the history
  • Loading branch information
kinghuin authored Sep 7, 2023
1 parent 6d14add commit daa496b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretraining.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ def group_texts(examples):
save_model(training_args.output_dir, model, tokenizer, training_args)

# Evaluation
if training_args.do_eval and trainer.is_world_process_zero():
if training_args.do_eval:
logger.info("*** Evaluate ***")
metrics = trainer.evaluate()

Expand Down

0 comments on commit daa496b

Please sign in to comment.