improve data process logger
This commit is contained in:
1 parent
ca48f90f1e
commit
a851056229
3 files changed
+7
-2
No files matched your search
@@ -62,7 +62,7 @@ def run_kto(
|
||||
trainer.save_metrics("train", train_result.metrics)
|
||||
trainer.save_state()
|
||||
if trainer.is_world_process_zero() and finetuning_args.plot_loss:
|
||||
plot_loss(training_args.output_dir, keys=["loss", "eval_loss"])
|
||||
plot_loss(training_args.output_dir, keys=["loss", "eval_loss", "train/rewards/chosen"])
|
||||
|
||||
# Evaluation
|
||||
if training_args.do_eval:
|
||||
|
||||
Reference in new issue
Block a user