Felladrin commited on
Commit
36c9cf4
·
verified ·
1 Parent(s): f8e6320

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 %}{{ '<|start_header_id|>' + message['role'] + '<|end_header_id|>' }}
2
+ {{ message['content'] }}<|eot_id|>{% endfor %}{{ '<|start_header_id|>user<|end_header_id|>' }}