Update tokenizer_config.json
Browse files- tokenizer_config.json +7 -22
tokenizer_config.json
CHANGED
@@ -25,38 +25,23 @@
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
28 |
-
},
|
29 |
-
"32000": {
|
30 |
-
"content": "<|end_of_turn|>",
|
31 |
-
"lstrip": false,
|
32 |
-
"normalized": false,
|
33 |
-
"rstrip": false,
|
34 |
-
"single_word": false,
|
35 |
-
"special": true
|
36 |
-
},
|
37 |
-
"32001": {
|
38 |
-
"content": "<|pad_0|>",
|
39 |
-
"lstrip": false,
|
40 |
-
"normalized": false,
|
41 |
-
"rstrip": false,
|
42 |
-
"single_word": false,
|
43 |
-
"special": true
|
44 |
}
|
45 |
},
|
46 |
"additional_special_tokens": [
|
47 |
-
"
|
48 |
-
"
|
|
|
49 |
],
|
50 |
"bos_token": "<s>",
|
51 |
-
"chat_template": "{{ bos_token }}{% for message in messages %}{{ 'GPT4 Correct ' + message['role'].title() + ': ' + message['content'] + '<|end_of_turn|>'}}{% endfor %}{% if add_generation_prompt %}{{ 'GPT4 Correct Assistant:' }}{% endif %}",
|
52 |
"clean_up_tokenization_spaces": false,
|
53 |
-
"eos_token": "
|
54 |
"legacy": true,
|
55 |
-
"model_max_length":
|
56 |
-
"pad_token":
|
57 |
"sp_model_kwargs": {},
|
58 |
"spaces_between_special_tokens": false,
|
59 |
"tokenizer_class": "LlamaTokenizer",
|
60 |
"unk_token": "<unk>",
|
|
|
61 |
"use_default_system_prompt": true
|
62 |
}
|
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
},
|
30 |
"additional_special_tokens": [
|
31 |
+
"<unk>",
|
32 |
+
"<s>",
|
33 |
+
"</s>"
|
34 |
],
|
35 |
"bos_token": "<s>",
|
|
|
36 |
"clean_up_tokenization_spaces": false,
|
37 |
+
"eos_token": "</s>",
|
38 |
"legacy": true,
|
39 |
+
"model_max_length": 8192,
|
40 |
+
"pad_token": "<s>",
|
41 |
"sp_model_kwargs": {},
|
42 |
"spaces_between_special_tokens": false,
|
43 |
"tokenizer_class": "LlamaTokenizer",
|
44 |
"unk_token": "<unk>",
|
45 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{{ 'GPT4 Correct ' + message['role'].title() + ': ' + message['content'] + eos_token}}{% endfor %}{% if add_generation_prompt %}{{ 'GPT4 Correct Assistant:' }}{% endif %}",
|
46 |
"use_default_system_prompt": true
|
47 |
}
|