Upload model
Browse files- adapter_config.json +46 -0
- adapter_model.bin +3 -0
adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adapter_emb_size": 512,
|
| 3 |
+
"adaptive_ratio": 0.01,
|
| 4 |
+
"adaptive_ratio_decay": 1.001,
|
| 5 |
+
"allow_empty_lora": true,
|
| 6 |
+
"allow_negative_weights": true,
|
| 7 |
+
"auto_mapping": null,
|
| 8 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
| 9 |
+
"bias": "none",
|
| 10 |
+
"dynamic_adapter_pool": true,
|
| 11 |
+
"enable_lora": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"input_based_adapter_selection": true,
|
| 15 |
+
"insert_zero_lora": false,
|
| 16 |
+
"layer_to_lora": [],
|
| 17 |
+
"lora_alpha": 16,
|
| 18 |
+
"lora_dropout": 0.05,
|
| 19 |
+
"lora_lm_head": true,
|
| 20 |
+
"merge_weights": false,
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"number_of_adapter_pre_layer": 3,
|
| 23 |
+
"ot_diversified_dispatcher": false,
|
| 24 |
+
"peft_type": "FORZEN_MA_LORA",
|
| 25 |
+
"pool_selective_inference": true,
|
| 26 |
+
"pool_selective_training": true,
|
| 27 |
+
"pretrain_adapter_list": "./trained_adapter_mis2.txt",
|
| 28 |
+
"r": 16,
|
| 29 |
+
"random_routing": false,
|
| 30 |
+
"random_routing_inference": false,
|
| 31 |
+
"selective_num": 3,
|
| 32 |
+
"simple_hidden_matching": true,
|
| 33 |
+
"simple_instance_matching": true,
|
| 34 |
+
"target_modules": [
|
| 35 |
+
"up_proj",
|
| 36 |
+
"v_proj",
|
| 37 |
+
"down_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"q_proj",
|
| 40 |
+
"o_proj",
|
| 41 |
+
"k_proj",
|
| 42 |
+
"lm_head"
|
| 43 |
+
],
|
| 44 |
+
"task_type": "CAUSAL_LM",
|
| 45 |
+
"train_lm_head": true
|
| 46 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a2d3795915235769ba600ffec4a2d4bfd954201904f43b449d4fcfd792f15f8
|
| 3 |
+
size 531522645
|