AutomatosX commited on
Commit
2054435
·
verified ·
1 Parent(s): 8c24ccb

Add chat_template.jinja for chat-template compatibility

Browse files
Files changed (1) hide show
  1. chat_template.jinja +1 -0
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% for message in messages %}{% if message['role'] == 'user' %}{% elif message['role'] == 'assistant' %}{% endif %}{{message['content']}} {% endfor %}{% if add_generation_prompt %}{% endif %}