michaelwzhu
commited on
Commit
•
e3c2c65
1
Parent(s):
683fb78
Upload adapter_config.json with huggingface_hub
Browse files- adapter_config.json +25 -0
adapter_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "/public/home/xlwang2/codes/Chinese-LlaMA2/resources/models--meta-llama--Llama-2-7b-chat-hf/snapshots/902d6349aebd6a0f82b1f6280ea57f65e0d03638",
|
3 |
+
"bias": "none",
|
4 |
+
"fan_in_fan_out": false,
|
5 |
+
"inference_mode": true,
|
6 |
+
"init_lora_weights": true,
|
7 |
+
"lora_alpha": 32,
|
8 |
+
"lora_dropout": 0.1,
|
9 |
+
"modules_to_save": [
|
10 |
+
"embed_tokens",
|
11 |
+
"lm_head"
|
12 |
+
],
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 20,
|
15 |
+
"target_modules": [
|
16 |
+
"q_proj",
|
17 |
+
"v_proj",
|
18 |
+
"k_proj",
|
19 |
+
"o_proj",
|
20 |
+
"gate_proj",
|
21 |
+
"down_proj",
|
22 |
+
"up_proj"
|
23 |
+
],
|
24 |
+
"task_type": "CAUSAL_LM"
|
25 |
+
}
|