Upload folder using huggingface_hub
Browse files- adapter_config.json +12 -7
- adapter_model.safetensors +2 -2
- chat_template.jinja +1 -0
adapter_config.json
CHANGED
|
@@ -13,25 +13,30 @@
|
|
| 13 |
"layers_pattern": null,
|
| 14 |
"layers_to_transform": null,
|
| 15 |
"loftq_config": {},
|
| 16 |
-
"lora_alpha":
|
| 17 |
"lora_bias": false,
|
| 18 |
-
"lora_dropout": 0.
|
| 19 |
"megatron_config": null,
|
| 20 |
"megatron_core": "megatron.core",
|
| 21 |
-
"modules_to_save":
|
|
|
|
|
|
|
| 22 |
"peft_type": "LORA",
|
| 23 |
"qalora_group_size": 16,
|
| 24 |
"r": 32,
|
| 25 |
"rank_pattern": {},
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
| 28 |
-
"out_proj",
|
| 29 |
-
"k_proj",
|
| 30 |
"v_proj",
|
| 31 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
],
|
| 33 |
"target_parameters": null,
|
| 34 |
-
"task_type": "
|
| 35 |
"trainable_token_indices": null,
|
| 36 |
"use_dora": false,
|
| 37 |
"use_qalora": false,
|
|
|
|
| 13 |
"layers_pattern": null,
|
| 14 |
"layers_to_transform": null,
|
| 15 |
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 64,
|
| 17 |
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.01,
|
| 19 |
"megatron_config": null,
|
| 20 |
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": [
|
| 22 |
+
"qa_outputs"
|
| 23 |
+
],
|
| 24 |
"peft_type": "LORA",
|
| 25 |
"qalora_group_size": 16,
|
| 26 |
"r": 32,
|
| 27 |
"rank_pattern": {},
|
| 28 |
"revision": null,
|
| 29 |
"target_modules": [
|
|
|
|
|
|
|
| 30 |
"v_proj",
|
| 31 |
+
"o_proj",
|
| 32 |
+
"k_proj",
|
| 33 |
+
"gate_proj",
|
| 34 |
+
"up_proj",
|
| 35 |
+
"q_proj",
|
| 36 |
+
"down_proj"
|
| 37 |
],
|
| 38 |
"target_parameters": null,
|
| 39 |
+
"task_type": "QUESTION_ANS",
|
| 40 |
"trainable_token_indices": null,
|
| 41 |
"use_dora": false,
|
| 42 |
"use_qalora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74b4ff760d8c58d97099af02b720346913cff1dcf998c58fc21f52a77c8644d4
|
| 3 |
+
size 335604696
|
chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'system' %}{{ '<<SYS>>\n' + message['content'] + '\n<</SYS>>\n\n' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + '</s>' }}{% endif %}{% endfor %}
|