update
Browse files### Changes
*
**Updated using [Chat Template Editor](https://huggingface.co/spaces/CISCai/chat-template-editor)**
- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
"<|assistant|>"
|
| 66 |
],
|
| 67 |
"bos_token": "<s>",
|
| 68 |
-
"chat_template": "{% for message in messages %}{% if message['role'] == '
|
| 69 |
"clean_up_tokenization_spaces": false,
|
| 70 |
"eos_token": "</s>",
|
| 71 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
|
| 65 |
"<|assistant|>"
|
| 66 |
],
|
| 67 |
"bos_token": "<s>",
|
| 68 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'system' -%}\n<|system|>\\n{{ message['content'] }}{{ eos_token }}\n{% elif message['role'] == 'user' -%}\n<|prompter|>\\n{{ message['content'] }}{{ eos_token }}\n{% elif message['role'] == 'assistant' -%}\n<|assistant|>\\n{{ message['content'] }}{{ eos_token }}\n{% endif %}\n{% endfor %}\n{% if add_generation_prompt -%}\n<|assistant|>\n{%- endif %}",
|
| 69 |
"clean_up_tokenization_spaces": false,
|
| 70 |
"eos_token": "</s>",
|
| 71 |
"model_max_length": 1000000000000000019884624838656,
|