SherryT997
commited on
Commit
·
32cc319
1
Parent(s):
a39d660
Upload 8 files
Browse files- README.md +1 -1
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
- tokenizer_config.json +1 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
library_name: peft
|
3 |
-
base_model:
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
|
|
1 |
---
|
2 |
library_name: peft
|
3 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
adapter_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
-
"base_model_name_or_path": "
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
@@ -19,13 +19,13 @@
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"o_proj",
|
23 |
"down_proj",
|
24 |
-
"v_proj",
|
25 |
-
"up_proj",
|
26 |
"q_proj",
|
27 |
"k_proj",
|
28 |
-
"
|
|
|
|
|
|
|
29 |
],
|
30 |
"task_type": "CAUSAL_LM"
|
31 |
}
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
|
|
22 |
"down_proj",
|
|
|
|
|
23 |
"q_proj",
|
24 |
"k_proj",
|
25 |
+
"o_proj",
|
26 |
+
"v_proj",
|
27 |
+
"gate_proj",
|
28 |
+
"up_proj"
|
29 |
],
|
30 |
"task_type": "CAUSAL_LM"
|
31 |
}
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167832240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0148ddd6c66e8615b730d16022e1792fba502ba300135c88fc5be95c089d7078
|
3 |
size 167832240
|
tokenizer_config.json
CHANGED
@@ -27,6 +27,7 @@
|
|
27 |
},
|
28 |
"additional_special_tokens": [],
|
29 |
"bos_token": "<s>",
|
|
|
30 |
"clean_up_tokenization_spaces": false,
|
31 |
"eos_token": "</s>",
|
32 |
"legacy": true,
|
|
|
27 |
},
|
28 |
"additional_special_tokens": [],
|
29 |
"bos_token": "<s>",
|
30 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
31 |
"clean_up_tokenization_spaces": false,
|
32 |
"eos_token": "</s>",
|
33 |
"legacy": true,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4536
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90ddf616af6a0ff2d87e1bd143ad2c7d97f8f1a8d08aedbbc2a53e128a577e80
|
3 |
size 4536
|