Upload 3 files
Browse files- special_tokens_map.json +2 -19
- tokenizer.json +2 -2
- tokenizer_config.json +2 -9
special_tokens_map.json
CHANGED
@@ -1,20 +1,4 @@
|
|
1 |
{
|
2 |
-
"additional_special_tokens": [
|
3 |
-
{
|
4 |
-
"content": "<|eot_id|>",
|
5 |
-
"lstrip": false,
|
6 |
-
"normalized": false,
|
7 |
-
"rstrip": false,
|
8 |
-
"single_word": false
|
9 |
-
},
|
10 |
-
{
|
11 |
-
"content": "<|eom_id|>",
|
12 |
-
"lstrip": false,
|
13 |
-
"normalized": false,
|
14 |
-
"rstrip": false,
|
15 |
-
"single_word": false
|
16 |
-
}
|
17 |
-
],
|
18 |
"bos_token": {
|
19 |
"content": "<|begin_of_text|>",
|
20 |
"lstrip": false,
|
@@ -23,11 +7,10 @@
|
|
23 |
"single_word": false
|
24 |
},
|
25 |
"eos_token": {
|
26 |
-
"content": "<|
|
27 |
"lstrip": false,
|
28 |
"normalized": false,
|
29 |
"rstrip": false,
|
30 |
"single_word": false
|
31 |
-
}
|
32 |
-
"pad_token": "<|end_of_text|>"
|
33 |
}
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": {
|
3 |
"content": "<|begin_of_text|>",
|
4 |
"lstrip": false,
|
|
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
+
"content": "<|eot_id|>",
|
11 |
"lstrip": false,
|
12 |
"normalized": false,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
+
}
|
|
|
16 |
}
|
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:79e3e522635f3171300913bb421464a87de6222182a0570b9b2ccba2a964b2b4
|
3 |
+
size 9085657
|
tokenizer_config.json
CHANGED
@@ -2049,21 +2049,14 @@
|
|
2049 |
"special": true
|
2050 |
}
|
2051 |
},
|
2052 |
-
"additional_special_tokens": [
|
2053 |
-
"<|eot_id|>",
|
2054 |
-
"<|eom_id|>"
|
2055 |
-
],
|
2056 |
"bos_token": "<|begin_of_text|>",
|
2057 |
-
"chat_template": "{
|
2058 |
"clean_up_tokenization_spaces": true,
|
2059 |
-
"eos_token": "<|
|
2060 |
"model_input_names": [
|
2061 |
"input_ids",
|
2062 |
"attention_mask"
|
2063 |
],
|
2064 |
"model_max_length": 131072,
|
2065 |
-
"pad_token": "<|end_of_text|>",
|
2066 |
-
"padding_side": "left",
|
2067 |
-
"split_special_tokens": false,
|
2068 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2069 |
}
|
|
|
2049 |
"special": true
|
2050 |
}
|
2051 |
},
|
|
|
|
|
|
|
|
|
2052 |
"bos_token": "<|begin_of_text|>",
|
2053 |
+
"chat_template": "{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}",
|
2054 |
"clean_up_tokenization_spaces": true,
|
2055 |
+
"eos_token": "<|eot_id|>",
|
2056 |
"model_input_names": [
|
2057 |
"input_ids",
|
2058 |
"attention_mask"
|
2059 |
],
|
2060 |
"model_max_length": 131072,
|
|
|
|
|
|
|
2061 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2062 |
}
|