Bertug1911 commited on
Commit
495b966
·
verified ·
1 Parent(s): e859ac7

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +1 -6
chat_template.jinja CHANGED
@@ -1,6 +1 @@
1
- {% for message in messages %}
2
- <|im_start|>{{ message['role'] }}<|im_sep|>{{ message['content'] }}<|im_end|>
3
- {% endfor %}
4
- {% if add_generation_prompt %}
5
- <|im_start|>assistant<|im_sep|>
6
- {% endif %}
 
1
+ {{ bos_token if bos_token is defined else '' }}{% for message in messages %}<|im_start|>{{ message['role'] }}<|im_sep|>{{ message['content'] }}<|im_end|>{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant<|im_sep|>{% endif %}