You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: paddlenlp/peft/lora/lora_config.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,12 @@ class LoRAConfig:
94
94
default=False,
95
95
metadata={"help": "Whether to use mos lora."},
96
96
)
97
+
mixer_num: int=field(
98
+
default=1,
99
+
metadata={
100
+
"help": "Num of mixer matrices. Mixer matrices will be added between the LoRA_A and LoRA_B matrices, as referenced in the paper https://arxiv.org/abs/2411.00039."
101
+
},
102
+
)
97
103
lorapro: bool=field(default=False, metadata={"help": "Whether to use LoRA-PRO"})
0 commit comments