Upload tokenizer
Browse files- special_tokens_map.json +19 -15
- tokenizer.json +2 -2
- tokenizer_config.json +24 -4
special_tokens_map.json
CHANGED
@@ -1,17 +1,21 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
}
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<|im_start|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<|im_end|>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"bos_token": "<|im_start|>",
|
19 |
+
"eos_token": "<|im_end|>",
|
20 |
+
"pad_token": "<|im_end|>"
|
21 |
}
|
tokenizer.json
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:72f66dc0dff6a31e064aedaf26871adcd90f44fd07b802c52b6be6c161f8efaa
|
3 |
+
size 17210562
|
tokenizer_config.json
CHANGED
@@ -2047,18 +2047,38 @@
|
|
2047 |
"rstrip": false,
|
2048 |
"single_word": false,
|
2049 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2050 |
}
|
2051 |
},
|
2052 |
-
"
|
2053 |
-
|
|
|
|
|
|
|
|
|
2054 |
"clean_up_tokenization_spaces": true,
|
2055 |
-
"eos_token": "<|
|
2056 |
"extra_special_tokens": {},
|
2057 |
"model_input_names": [
|
2058 |
"input_ids",
|
2059 |
"attention_mask"
|
2060 |
],
|
2061 |
"model_max_length": 131072,
|
2062 |
-
"pad_token": "<|
|
2063 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2064 |
}
|
|
|
2047 |
"rstrip": false,
|
2048 |
"single_word": false,
|
2049 |
"special": true
|
2050 |
+
},
|
2051 |
+
"128256": {
|
2052 |
+
"content": "<|im_start|>",
|
2053 |
+
"lstrip": false,
|
2054 |
+
"normalized": false,
|
2055 |
+
"rstrip": false,
|
2056 |
+
"single_word": false,
|
2057 |
+
"special": true
|
2058 |
+
},
|
2059 |
+
"128257": {
|
2060 |
+
"content": "<|im_end|>",
|
2061 |
+
"lstrip": false,
|
2062 |
+
"normalized": false,
|
2063 |
+
"rstrip": false,
|
2064 |
+
"single_word": false,
|
2065 |
+
"special": true
|
2066 |
}
|
2067 |
},
|
2068 |
+
"additional_special_tokens": [
|
2069 |
+
"<|im_start|>",
|
2070 |
+
"<|im_end|>"
|
2071 |
+
],
|
2072 |
+
"bos_token": "<|im_start|>",
|
2073 |
+
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
2074 |
"clean_up_tokenization_spaces": true,
|
2075 |
+
"eos_token": "<|im_end|>",
|
2076 |
"extra_special_tokens": {},
|
2077 |
"model_input_names": [
|
2078 |
"input_ids",
|
2079 |
"attention_mask"
|
2080 |
],
|
2081 |
"model_max_length": 131072,
|
2082 |
+
"pad_token": "<|im_end|>",
|
2083 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2084 |
}
|