letianWoowoof
commited on
Commit
•
c255e3f
1
Parent(s):
6a9932c
Create adapter_config.json
Browse files- adapter_config.json +8 -0
adapter_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
peft_config = LoraConfig(
|
2 |
+
lora_alpha=16,
|
3 |
+
lora_dropout=0.05,
|
4 |
+
r=8,
|
5 |
+
bias="none",
|
6 |
+
target_modules=["q_proj", "v_proj"],
|
7 |
+
task_type="CAUSAL_LM",
|
8 |
+
)
|