Upload tokenizer
Browse files- special_tokens_map.json +14 -2
- tokenizer.json +4 -2
- tokenizer_config.json +0 -7
special_tokens_map.json
CHANGED
|
@@ -1,7 +1,19 @@
|
|
| 1 |
{
|
| 2 |
"additional_special_tokens": [
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
],
|
| 6 |
"bos_token": {
|
| 7 |
"content": "<|im_start|>",
|
|
|
|
| 1 |
{
|
| 2 |
"additional_special_tokens": [
|
| 3 |
+
{
|
| 4 |
+
"content": "<|user|>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"content": "<|assistant|>",
|
| 12 |
+
"lstrip": false,
|
| 13 |
+
"normalized": false,
|
| 14 |
+
"rstrip": false,
|
| 15 |
+
"single_word": false
|
| 16 |
+
}
|
| 17 |
],
|
| 18 |
"bos_token": {
|
| 19 |
"content": "<|im_start|>",
|
tokenizer.json
CHANGED
|
@@ -2,12 +2,14 @@
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
-
"max_length":
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
"padding": {
|
| 10 |
-
"strategy":
|
|
|
|
|
|
|
| 11 |
"direction": "Right",
|
| 12 |
"pad_to_multiple_of": null,
|
| 13 |
"pad_id": 2,
|
|
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
+
"max_length": 256,
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 256
|
| 12 |
+
},
|
| 13 |
"direction": "Right",
|
| 14 |
"pad_to_multiple_of": null,
|
| 15 |
"pad_id": 2,
|
tokenizer_config.json
CHANGED
|
@@ -163,16 +163,9 @@
|
|
| 163 |
"clean_up_tokenization_spaces": false,
|
| 164 |
"eos_token": "<|im_end|>",
|
| 165 |
"extra_special_tokens": {},
|
| 166 |
-
"max_length": 256,
|
| 167 |
"model_max_length": 8192,
|
| 168 |
-
"pad_to_multiple_of": null,
|
| 169 |
"pad_token": "<|im_end|>",
|
| 170 |
-
"pad_token_type_id": 0,
|
| 171 |
-
"padding_side": "right",
|
| 172 |
-
"stride": 0,
|
| 173 |
"tokenizer_class": "GPT2Tokenizer",
|
| 174 |
-
"truncation_side": "right",
|
| 175 |
-
"truncation_strategy": "longest_first",
|
| 176 |
"unk_token": "<|endoftext|>",
|
| 177 |
"vocab_size": 49152
|
| 178 |
}
|
|
|
|
| 163 |
"clean_up_tokenization_spaces": false,
|
| 164 |
"eos_token": "<|im_end|>",
|
| 165 |
"extra_special_tokens": {},
|
|
|
|
| 166 |
"model_max_length": 8192,
|
|
|
|
| 167 |
"pad_token": "<|im_end|>",
|
|
|
|
|
|
|
|
|
|
| 168 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
|
|
|
|
| 169 |
"unk_token": "<|endoftext|>",
|
| 170 |
"vocab_size": 49152
|
| 171 |
}
|