mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-16 00:28:10 +08:00
Merge pull request #5971 from hiyouga/hiyouga/fix_webui
[webui] fix extra args Former-commit-id: d04e21d69e60ab4a350e70da7d1abbf11cfeed0e
This commit is contained in:
commit
fcb6283a72
@ -154,8 +154,8 @@ class Runner:
|
|||||||
plot_loss=True,
|
plot_loss=True,
|
||||||
ddp_timeout=180000000,
|
ddp_timeout=180000000,
|
||||||
include_num_input_tokens_seen=False if is_transformers_version_equal_to_4_46() else True, # FIXME
|
include_num_input_tokens_seen=False if is_transformers_version_equal_to_4_46() else True, # FIXME
|
||||||
**json.loads(get("train.extra_args")),
|
|
||||||
)
|
)
|
||||||
|
args.update(json.loads(get("train.extra_args")))
|
||||||
|
|
||||||
# checkpoints
|
# checkpoints
|
||||||
if get("top.checkpoint_path"):
|
if get("top.checkpoint_path"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user