Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -213,7 +213,7 @@
|
|
213 |
"</thinking>"
|
214 |
],
|
215 |
"bos_token": null,
|
216 |
-
"chat_template": "{%
|
217 |
"clean_up_tokenization_spaces": false,
|
218 |
"eos_token": "<|im_end|>",
|
219 |
"errors": "replace",
|
|
|
213 |
"</thinking>"
|
214 |
],
|
215 |
"bos_token": null,
|
216 |
+
"chat_template": "{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|im_start|>user\n' + content + '<|im_end|>\n<|im_start|>assistant\n' }}{% elif message['role'] == 'assistant' %}{{ content + '<|im_end|>' + '\n' }}{% endif %}{% endfor %}",
|
217 |
"clean_up_tokenization_spaces": false,
|
218 |
"eos_token": "<|im_end|>",
|
219 |
"errors": "replace",
|