Skip to content

Commit

Permalink
Merge pull request #200 from kinghuin/patch-1
Browse files Browse the repository at this point in the history
fix similar to issue #194
  • Loading branch information
shibing624 authored Sep 8, 2023
2 parents 7f06299 + daa496b commit 4f3a051
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 4f3a051

Please sign in to comment.