mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 06:12:50 +08:00
Update loader.py
Former-commit-id: 93b9067dfc44d3a8570c39831539a8aa3e27e2db
This commit is contained in:
parent
6fbf77aa54
commit
af50c03879
@ -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