Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- chat_template.jinja +4 -12
chat_template.jinja
CHANGED
|
@@ -1,12 +1,4 @@
|
|
| 1 |
-
{%
|
| 2 |
-
|
| 3 |
-
{%
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
### Instruction:
|
| 7 |
-
{{ instruction }}
|
| 8 |
-
|
| 9 |
-
### Input:
|
| 10 |
-
{{ input }}
|
| 11 |
-
|
| 12 |
-
### Response:
|
|
|
|
| 1 |
+
{% for message in messages %}{{'<|im_start|>' + message['role'] + '
|
| 2 |
+
' + message['content'] + '<|im_end|>' + '
|
| 3 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 4 |
+
' }}{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|