Upload tokenizer
Browse files- chat_template.jinja +2 -2
chat_template.jinja
CHANGED
@@ -38,7 +38,7 @@
|
|
38 |
{{- '}\n</tool_call>' }}
|
39 |
{%- endfor %}
|
40 |
{% endgeneration %}
|
41 |
-
{{- '<|im_end
|
42 |
{%- elif message.role == "tool" %}
|
43 |
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
44 |
{{- '<|im_start|>user' }}
|
@@ -53,4 +53,4 @@
|
|
53 |
{%- endfor %}
|
54 |
{%- if add_generation_prompt %}
|
55 |
{{- '<|im_start|>assistant\n' }}
|
56 |
-
{%- endif %}
|
|
|
38 |
{{- '}\n</tool_call>' }}
|
39 |
{%- endfor %}
|
40 |
{% endgeneration %}
|
41 |
+
{{- '<|im_end|>\n' }}
|
42 |
{%- elif message.role == "tool" %}
|
43 |
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
44 |
{{- '<|im_start|>user' }}
|
|
|
53 |
{%- endfor %}
|
54 |
{%- if add_generation_prompt %}
|
55 |
{{- '<|im_start|>assistant\n' }}
|
56 |
+
{%- endif %}
|