Create adapter_config.json
Browse files- adapter_config.json +4 -42
adapter_config.json
CHANGED
@@ -1,43 +1,5 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
},
|
7 |
-
"base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
8 |
-
"bias": "none",
|
9 |
-
"fan_in_fan_out": false,
|
10 |
-
"inference_mode": true,
|
11 |
-
"init_lora_weights": true,
|
12 |
-
"layer_replication": null,
|
13 |
-
"layers_pattern": null,
|
14 |
-
"layers_to_transform": null,
|
15 |
-
"loftq_config": {},
|
16 |
-
"lora_alpha": 16,
|
17 |
-
"lora_dropout": 0.0,
|
18 |
-
"megatron_config": null,
|
19 |
-
"megatron_core": "megatron.core",
|
20 |
-
"modules_to_save": null,
|
21 |
-
"peft_type": "LORA",
|
22 |
-
"r": 64,
|
23 |
-
"rank_pattern": {},
|
24 |
-
"revision": null,
|
25 |
-
"target_modules": [
|
26 |
-
"up_proj",
|
27 |
-
"fc1",
|
28 |
-
"o_proj",
|
29 |
-
"linear_2",
|
30 |
-
"out_proj",
|
31 |
-
"linear_1",
|
32 |
-
"gate_proj",
|
33 |
-
"v_proj",
|
34 |
-
"fc2",
|
35 |
-
"lm_head",
|
36 |
-
"k_proj",
|
37 |
-
"q_proj",
|
38 |
-
"down_proj"
|
39 |
-
],
|
40 |
-
"task_type": null,
|
41 |
-
"use_dora": false,
|
42 |
-
"use_rslora": false
|
43 |
-
}
|
|
|
1 |
{
|
2 |
+
"peft": {
|
3 |
+
"task_type": "classification" // Example of a valid string value
|
4 |
+
}
|
5 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|