forked from p04798526/LLaMA-Factory-Mirror
fix bug
This commit is contained in:
parent
9e509b99af
commit
00c77104f8
|
@ -58,7 +58,7 @@ def load_model_and_tokenizer(
|
|||
config = AutoConfig.from_pretrained(model_args.model_name_or_path, **config_kwargs)
|
||||
|
||||
patcher.patch_tokenizer(tokenizer)
|
||||
patcher.patch_config(config, model_args, is_trainable)
|
||||
patcher.patch_config(config, model_args)
|
||||
patcher.configure_rope(config, model_args, is_trainable)
|
||||
patcher.configure_flashattn(config_kwargs, model_args)
|
||||
patcher.configure_longlora(config, model_args, is_trainable)
|
||||
|
|
Loading…
Reference in New Issue