faizack commited on
Commit
4175768
·
verified ·
1 Parent(s): 08cd82e

Upload chat_template.jinja with huggingface_hub

Browse files
Files changed (1) hide show
  1. chat_template.jinja +4 -0
chat_template.jinja ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {% for msg in messages %}<|im_start|>{{ msg.role }}
2
+ {{ msg.content }}<|im_end|>
3
+ {% if loop.last and add_generation_prompt %}<|im_start|>assistant
4
+ {% endif %}{% endfor %}