Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyouga committed Oct 14, 2023
1 parent 1e94017 commit 3ad8c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llmtuner/extras/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def on_log(self, args: "TrainingArguments", state: "TrainerState", control: "Tra
remaining_time=self.remaining_time
)
if self.runner is not None:
logger.info("{{'loss': {:.4f}, 'learning_rate': {:2.2e}, 'epoch': {:.2f}}}".format(
logger.info("{{'loss': {:.4f}, 'learning_rate': {:2.4e}, 'epoch': {:.2f}}}".format(
logs["loss"], logs["learning_rate"], logs["epoch"]
))

Expand Down

0 comments on commit 3ad8c92

Please sign in to comment.