mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-16 20:00:36 +08:00
[misc] fix lora regex (#6944)
* fix lora regex * fix Former-commit-id: 1d0ecbaee1b72f1e03154ddd4fcc8b7876e01f89
This commit is contained in:
@@ -201,7 +201,7 @@ def _setup_lora_tuning(
|
||||
if finetuning_args.use_llama_pro:
|
||||
target_modules = find_expanded_modules(model, target_modules, finetuning_args.freeze_trainable_layers)
|
||||
|
||||
target_modules = patch_target_modules(model.config, finetuning_args, target_modules)
|
||||
target_modules = patch_target_modules(model, finetuning_args, target_modules)
|
||||
|
||||
if (
|
||||
finetuning_args.use_dora
|
||||
|
||||
Reference in New Issue
Block a user