Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -203,7 +203,7 @@
|
|
| 203 |
"<|video_pad|>"
|
| 204 |
],
|
| 205 |
"bos_token": null,
|
| 206 |
-
"chat_template": "{
|
| 207 |
"clean_up_tokenization_spaces": false,
|
| 208 |
"eos_token": "<|endoftext|>",
|
| 209 |
"errors": "replace",
|
|
|
|
| 203 |
"<|video_pad|>"
|
| 204 |
],
|
| 205 |
"bos_token": null,
|
| 206 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n### User: {{ message['content'] }}\n{% elif message['role'] == 'assistant' %}\n### Assistant: {{ message['content'] }}{{ eos_token }}\n{% endif %}\n{% endfor %}\n{% if add_generation_prompt %}\n### Assistant:\n{% endif %}\n",
|
| 207 |
"clean_up_tokenization_spaces": false,
|
| 208 |
"eos_token": "<|endoftext|>",
|
| 209 |
"errors": "replace",
|