Skip to content

Commit

Permalink
update msg
Browse files Browse the repository at this point in the history
  • Loading branch information
TongLi3701 committed Sep 10, 2024
1 parent a732586 commit 380408e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/ColossalChat/coati/trainer/dpo.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def _eval(self, epoch: int):
)
step_bar.update()

msg = "Evaluation Result:\n"
msg = "\nEvaluation Result:\n"
for tag in ["loss", "chosen_rewards", "rejected_rewards", "accuracy", "margin"]:
msg = msg + f"{tag}: {self.accumulative_meter.get(tag)}\n"
self.coordinator.print_on_master(msg)
Expand Down

0 comments on commit 380408e

Please sign in to comment.