Upload folder using huggingface_hub
Browse files- README.md +1 -1
- adapter_config.json +5 -5
- adapter_model.safetensors +2 -2
- special_tokens_map.json +0 -9
- tokenizer.json +1 -1
- tokenizer_config.json +4 -9
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
base_model: microsoft/Phi-3
|
3 |
library_name: peft
|
4 |
---
|
5 |
|
|
|
1 |
---
|
2 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
3 |
library_name: peft
|
4 |
---
|
5 |
|
adapter_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
-
"base_model_name_or_path": "microsoft/Phi-3
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
@@ -16,16 +16,16 @@
|
|
16 |
"megatron_core": "megatron.core",
|
17 |
"modules_to_save": null,
|
18 |
"peft_type": "LORA",
|
19 |
-
"r":
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
|
|
23 |
"down_proj",
|
24 |
-
"gate_up_proj",
|
25 |
"o_proj",
|
26 |
-
"
|
27 |
],
|
28 |
"task_type": "CAUSAL_LM",
|
29 |
"use_dora": false,
|
30 |
-
"use_rslora":
|
31 |
}
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/Phi-3-mini-4k-instruct",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
|
|
16 |
"megatron_core": "megatron.core",
|
17 |
"modules_to_save": null,
|
18 |
"peft_type": "LORA",
|
19 |
+
"r": 16,
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
+
"qkv_proj",
|
24 |
"down_proj",
|
|
|
25 |
"o_proj",
|
26 |
+
"gate_up_proj"
|
27 |
],
|
28 |
"task_type": "CAUSAL_LM",
|
29 |
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
}
|
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:06806613c7aa5bb1ee086d6be2d78c59e71e0033459644068fff767f64248c05
|
3 |
+
size 100697728
|
special_tokens_map.json
CHANGED
@@ -1,13 +1,4 @@
|
|
1 |
{
|
2 |
-
"additional_special_tokens": [
|
3 |
-
{
|
4 |
-
"content": "<|end|>",
|
5 |
-
"lstrip": false,
|
6 |
-
"normalized": false,
|
7 |
-
"rstrip": false,
|
8 |
-
"single_word": false
|
9 |
-
}
|
10 |
-
],
|
11 |
"bos_token": {
|
12 |
"content": "<s>",
|
13 |
"lstrip": false,
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": {
|
3 |
"content": "<s>",
|
4 |
"lstrip": false,
|
tokenizer.json
CHANGED
@@ -98,7 +98,7 @@
|
|
98 |
"content": "<|end|>",
|
99 |
"single_word": false,
|
100 |
"lstrip": false,
|
101 |
-
"rstrip":
|
102 |
"normalized": false,
|
103 |
"special": true
|
104 |
},
|
|
|
98 |
"content": "<|end|>",
|
99 |
"single_word": false,
|
100 |
"lstrip": false,
|
101 |
+
"rstrip": true,
|
102 |
"normalized": false,
|
103 |
"special": true
|
104 |
},
|
tokenizer_config.json
CHANGED
@@ -87,7 +87,7 @@
|
|
87 |
"content": "<|end|>",
|
88 |
"lstrip": false,
|
89 |
"normalized": false,
|
90 |
-
"rstrip":
|
91 |
"single_word": false,
|
92 |
"special": true
|
93 |
},
|
@@ -116,20 +116,15 @@
|
|
116 |
"special": true
|
117 |
}
|
118 |
},
|
119 |
-
"additional_special_tokens": [
|
120 |
-
"<|end|>"
|
121 |
-
],
|
122 |
"bos_token": "<s>",
|
123 |
-
"chat_template": "{% for message in messages %}{% if message['role'] == 'system'
|
124 |
"clean_up_tokenization_spaces": false,
|
125 |
"eos_token": "<|endoftext|>",
|
126 |
-
"extra_special_tokens": {},
|
127 |
"legacy": false,
|
128 |
-
"model_max_length":
|
129 |
"pad_token": "<|endoftext|>",
|
130 |
-
"padding_side": "
|
131 |
"sp_model_kwargs": {},
|
132 |
-
"split_special_tokens": false,
|
133 |
"tokenizer_class": "LlamaTokenizer",
|
134 |
"unk_token": "<unk>",
|
135 |
"use_default_system_prompt": false
|
|
|
87 |
"content": "<|end|>",
|
88 |
"lstrip": false,
|
89 |
"normalized": false,
|
90 |
+
"rstrip": true,
|
91 |
"single_word": false,
|
92 |
"special": true
|
93 |
},
|
|
|
116 |
"special": true
|
117 |
}
|
118 |
},
|
|
|
|
|
|
|
119 |
"bos_token": "<s>",
|
120 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
121 |
"clean_up_tokenization_spaces": false,
|
122 |
"eos_token": "<|endoftext|>",
|
|
|
123 |
"legacy": false,
|
124 |
+
"model_max_length": 4096,
|
125 |
"pad_token": "<|endoftext|>",
|
126 |
+
"padding_side": "left",
|
127 |
"sp_model_kwargs": {},
|
|
|
128 |
"tokenizer_class": "LlamaTokenizer",
|
129 |
"unk_token": "<unk>",
|
130 |
"use_default_system_prompt": false
|