Update chat template
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -111,7 +111,7 @@
|
|
| 111 |
">>SUFFIX<<",
|
| 112 |
">>MIDDLE<<"
|
| 113 |
],
|
| 114 |
-
"chat_template": "{%
|
| 115 |
"clean_up_tokenization_spaces": true,
|
| 116 |
"eos_token": "<|endoftext|>",
|
| 117 |
"model_input_names": [
|
|
|
|
| 111 |
">>SUFFIX<<",
|
| 112 |
">>MIDDLE<<"
|
| 113 |
],
|
| 114 |
+
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>' + '\\n'}}{% endfor %}",
|
| 115 |
"clean_up_tokenization_spaces": true,
|
| 116 |
"eos_token": "<|endoftext|>",
|
| 117 |
"model_input_names": [
|