Upload folder using huggingface_hub
Browse files- chat_template.jinja +2 -3
chat_template.jinja
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
{# Chat template fixes by Unsloth #}
|
| 2 |
{#-
|
| 3 |
In addition to the normal inputs of `messages` and `tools`, this template also accepts the
|
| 4 |
following kwargs:
|
|
@@ -192,6 +191,7 @@
|
|
| 192 |
{{- "When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 120.0 seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is UNKNOWN. Depends on the cluster.\n\n" }}
|
| 193 |
{%- endif -%}
|
| 194 |
{%- endmacro -%}
|
|
|
|
| 195 |
|
| 196 |
{#- System Message Construction ============================================ #}
|
| 197 |
{%- macro build_system_message() -%}
|
|
@@ -341,5 +341,4 @@
|
|
| 341 |
{#- Generation prompt #}
|
| 342 |
{%- if add_generation_prompt -%}
|
| 343 |
<|start|>assistant
|
| 344 |
-
{%- endif -%}
|
| 345 |
-
{# Copyright 2025-present Unsloth. Apache 2.0 License. Unsloth chat template fixes. Edited from ggml-org & OpenAI #}
|
|
|
|
|
|
|
| 1 |
{#-
|
| 2 |
In addition to the normal inputs of `messages` and `tools`, this template also accepts the
|
| 3 |
following kwargs:
|
|
|
|
| 191 |
{{- "When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 120.0 seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is UNKNOWN. Depends on the cluster.\n\n" }}
|
| 192 |
{%- endif -%}
|
| 193 |
{%- endmacro -%}
|
| 194 |
+
{#- [|}oojum #}
|
| 195 |
|
| 196 |
{#- System Message Construction ============================================ #}
|
| 197 |
{%- macro build_system_message() -%}
|
|
|
|
| 341 |
{#- Generation prompt #}
|
| 342 |
{%- if add_generation_prompt -%}
|
| 343 |
<|start|>assistant
|
| 344 |
+
{%- endif -%}
|
|
|