Instructions to use unsloth/Magistral-Small-2509-unsloth-bnb-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Desktop
Update chat_template.jinja (#1)
Browse files- Update chat_template.jinja (d3e593ab7e2ff0773f1f6b3ac7460270b2890fd0)
Co-authored-by: John Dekka <johndekka@users.noreply.huggingface.co>
- chat_template.jinja +1 -1
chat_template.jinja
CHANGED
|
@@ -98,7 +98,7 @@
|
|
| 98 |
{{- "[TOOL_RESULTS]" + content|string + "[/TOOL_RESULTS]" }}
|
| 99 |
|
| 100 |
{%- else %}
|
| 101 |
-
{{- raise_exception('Only user,
|
| 102 |
{%- endif %}
|
| 103 |
{%- endfor %}
|
| 104 |
{#- Copyright 2025-present the Unsloth team. All rights reserved. #}
|
|
|
|
| 98 |
{{- "[TOOL_RESULTS]" + content|string + "[/TOOL_RESULTS]" }}
|
| 99 |
|
| 100 |
{%- else %}
|
| 101 |
+
{{- raise_exception('Only user, system, assistant and tool roles are supported in the custom template made by Unsloth!') }}
|
| 102 |
{%- endif %}
|
| 103 |
{%- endfor %}
|
| 104 |
{#- Copyright 2025-present the Unsloth team. All rights reserved. #}
|