mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-16 00:28:10 +08:00
Update loader.py
Former-commit-id: 3b229a27a108b840e6bed3c8684737f51ce9faf4
This commit is contained in:
parent
66819fd3ee
commit
c6e1313977
@ -116,7 +116,6 @@ def load_config(model_args: "ModelArguments") -> "PretrainedConfig":
|
||||
Loads model config.
|
||||
"""
|
||||
init_kwargs = _get_init_kwargs(model_args)
|
||||
|
||||
return AutoConfig.from_pretrained(model_args.model_name_or_path, **init_kwargs)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user