Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -212,6 +212,6 @@
|
|
212 |
"split_special_tokens": false,
|
213 |
"tokenizer_class": "Qwen2Tokenizer",
|
214 |
"unk_token": null,
|
215 |
-
"chat_template": "{%- for message in messages %}{{ '### ' + message['role']|capitalize + '\\n' + message['content'].strip() + '\\n\\n' }}{% endfor %}{%- if add_generation_prompt %} \n ###
|
216 |
|
217 |
}
|
|
|
212 |
"split_special_tokens": false,
|
213 |
"tokenizer_class": "Qwen2Tokenizer",
|
214 |
"unk_token": null,
|
215 |
+
"chat_template": "{%- for message in messages %}{{ '### ' + ('Response' if message['role'] == 'assistant' else message['role']|capitalize) + '\\n' + message['content'].strip() + '\\n\\n' }}{% endfor %}{%- if add_generation_prompt %} \n ### Response {% endif %}"
|
216 |
|
217 |
}
|