Commit
•
0c1fecf
1
Parent(s):
f2b7d1a
Update tokenizer_config.json
Browse files- tokenizer_config.json +3 -3
tokenizer_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
-
"add_bos_token":
|
3 |
-
"add_eos_token":
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<pad>",
|
@@ -56,7 +56,7 @@
|
|
56 |
"<|im_end|>"
|
57 |
],
|
58 |
"bos_token": "<bos>",
|
59 |
-
"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 %}",
|
60 |
"clean_up_tokenization_spaces": false,
|
61 |
"eos_token": "<eos>",
|
62 |
"legacy": null,
|
|
|
1 |
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<pad>",
|
|
|
56 |
"<|im_end|>"
|
57 |
],
|
58 |
"bos_token": "<bos>",
|
59 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% else %}{{ eos_token }}{% endif %}",
|
60 |
"clean_up_tokenization_spaces": false,
|
61 |
"eos_token": "<eos>",
|
62 |
"legacy": null,
|