sthenno commited on
Commit
6ff4fb6
·
verified ·
1 Parent(s): 2e7bd5a

Upload chat_template.jinja with huggingface_hub

Browse files
Files changed (1) hide show
  1. chat_template.jinja +2 -0
chat_template.jinja ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}
2
+ {% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}