mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
update webui
Former-commit-id: 298a5fc52610deb9f7d555e2fc699f10067d8af5
This commit is contained in:
parent
a8bc32553c
commit
c5eb3fba62
@ -165,7 +165,8 @@ class Runner:
|
||||
if get("train.val_size") > 1e-6 and args["stage"] != "ppo":
|
||||
args["val_size"] = get("train.val_size")
|
||||
args["evaluation_strategy"] = "steps"
|
||||
args["eval_steps"] = get("train.save_steps")
|
||||
args["eval_steps"] = args["save_steps"]
|
||||
args["per_device_eval_batch_size"] = args["per_device_train_batch_size"]
|
||||
args["load_best_model_at_end"] = args["stage"] not in ["rm", "ppo"]
|
||||
|
||||
return args
|
||||
|
Loading…
x
Reference in New Issue
Block a user