Upload tokenizer
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -158,6 +158,7 @@
|
|
158 |
"<empty_output>"
|
159 |
],
|
160 |
"bos_token": "<|im_start|>",
|
|
|
161 |
"clean_up_tokenization_spaces": false,
|
162 |
"eos_token": "<|im_end|>",
|
163 |
"model_max_length": 4096,
|
|
|
158 |
"<empty_output>"
|
159 |
],
|
160 |
"bos_token": "<|im_start|>",
|
161 |
+
"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 %}",
|
162 |
"clean_up_tokenization_spaces": false,
|
163 |
"eos_token": "<|im_end|>",
|
164 |
"model_max_length": 4096,
|