This commit is contained in:
hiyouga 2023-12-15 21:54:02 +08:00
parent 9e509b99af
commit 00c77104f8
1 changed files with 1 additions and 1 deletions

View File

@ -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)