smallsuper
commited on
Upload 13 files
Browse files- loftq_init/README.md +1 -1
- loftq_init/adapter_config.json +6 -5
loftq_init/README.md
CHANGED
@@ -201,4 +201,4 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
|
|
201 |
|
202 |
### Framework versions
|
203 |
|
204 |
-
- PEFT 0.
|
|
|
201 |
|
202 |
### Framework versions
|
203 |
|
204 |
+
- PEFT 0.10.0
|
loftq_init/adapter_config.json
CHANGED
@@ -6,13 +6,14 @@
|
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
8 |
"init_lora_weights": true,
|
|
|
9 |
"layers_pattern": null,
|
10 |
"layers_to_transform": null,
|
11 |
"loftq_config": {
|
12 |
"loftq_bits": 4,
|
13 |
"loftq_iter": 5
|
14 |
},
|
15 |
-
"lora_alpha":
|
16 |
"lora_dropout": 0.1,
|
17 |
"megatron_config": null,
|
18 |
"megatron_core": "megatron.core",
|
@@ -22,13 +23,13 @@
|
|
22 |
"rank_pattern": {},
|
23 |
"revision": null,
|
24 |
"target_modules": [
|
25 |
-
"gate_proj",
|
26 |
"down_proj",
|
|
|
|
|
|
|
27 |
"k_proj",
|
28 |
"q_proj",
|
29 |
-
"
|
30 |
-
"o_proj",
|
31 |
-
"up_proj"
|
32 |
],
|
33 |
"task_type": "FEATURE_EXTRACTION",
|
34 |
"use_dora": false,
|
|
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
8 |
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
"layers_pattern": null,
|
11 |
"layers_to_transform": null,
|
12 |
"loftq_config": {
|
13 |
"loftq_bits": 4,
|
14 |
"loftq_iter": 5
|
15 |
},
|
16 |
+
"lora_alpha": 16,
|
17 |
"lora_dropout": 0.1,
|
18 |
"megatron_config": null,
|
19 |
"megatron_core": "megatron.core",
|
|
|
23 |
"rank_pattern": {},
|
24 |
"revision": null,
|
25 |
"target_modules": [
|
|
|
26 |
"down_proj",
|
27 |
+
"v_proj",
|
28 |
+
"up_proj",
|
29 |
+
"gate_proj",
|
30 |
"k_proj",
|
31 |
"q_proj",
|
32 |
+
"o_proj"
|
|
|
|
|
33 |
],
|
34 |
"task_type": "FEATURE_EXTRACTION",
|
35 |
"use_dora": false,
|