Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update chat_templates.py

Daniel Han6e387d8ff847
diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py
index e7d972f02f5..d500afb7262 100644
--- a/unsloth/chat_templates.py
+++ b/unsloth/chat_templates.py
@@ -786,7 +786,8 @@ qwen25_template = \
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|im_start|>assistant\n' }}
-{%- endif %}"""
+{%- endif %}
+"""
# Ollama from https://ollama.com/library/qwen2.5/blobs/eb4402837c78