Upload tokenizer
Browse files- special_tokens_map.json +28 -7
- tokenizer_config.json +1 -4
special_tokens_map.json
CHANGED
@@ -1,9 +1,30 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"<|endoftext|>",
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
}
|
tokenizer_config.json
CHANGED
@@ -202,15 +202,12 @@
|
|
202 |
"special": false
|
203 |
}
|
204 |
},
|
205 |
-
"additional_special_tokens": [
|
206 |
-
"<|endoftext|>",
|
207 |
-
"<|padding|>"
|
208 |
-
],
|
209 |
"bos_token": "<|endoftext|>",
|
210 |
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
211 |
"clean_up_tokenization_spaces": true,
|
212 |
"eos_token": "<|endoftext|>",
|
213 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
214 |
"tokenizer_class": "GPTNeoXTokenizer",
|
215 |
"unk_token": "<|endoftext|>"
|
216 |
}
|
|
|
202 |
"special": false
|
203 |
}
|
204 |
},
|
|
|
|
|
|
|
|
|
205 |
"bos_token": "<|endoftext|>",
|
206 |
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
207 |
"clean_up_tokenization_spaces": true,
|
208 |
"eos_token": "<|endoftext|>",
|
209 |
"model_max_length": 1000000000000000019884624838656,
|
210 |
+
"pad_token": "<|endoftext|>",
|
211 |
"tokenizer_class": "GPTNeoXTokenizer",
|
212 |
"unk_token": "<|endoftext|>"
|
213 |
}
|