Upload chat_template.jinja with huggingface_hub
Browse files- 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|>' }}
|