mirror of
https://github.com/hiyouga/LlamaFactory.git
synced 2026-03-18 23:13:08 +00:00
tiny fix
Former-commit-id: eae79707d31fd8be2cf4bee4d610557bbd49f6e7
This commit is contained in:
@@ -69,7 +69,7 @@ def main():
|
||||
ppo_trainer.ppo_train(max_target_length=data_args.max_target_length)
|
||||
ppo_trainer.save_model()
|
||||
ppo_trainer.save_state() # must be after save_model
|
||||
if ppo_trainer.is_world_process_zero() and finetuning_args.plot_loss:
|
||||
if ppo_trainer.is_world_process_zero() and model_args.plot_loss:
|
||||
plot_loss(training_args, keys=["loss", "reward"])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user