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 Han8e61906e6fa6
diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py
index f83df579b1f..d81413ae705 100644
--- a/unsloth/chat_templates.py
+++ b/unsloth/chat_templates.py
@@ -472,8 +472,8 @@ pass
# =========================================== Phi-3
+# "{{ bos_token }}"\ # Phi-3.5 removes BOS?
phi3_template = \
- # "{{ bos_token }}"\ # Phi-3.5 removes BOS?
"{% for message in messages %}"\
"{% if message['role'] == 'user' %}"\
"{{'<|user|>\n' + message['content'] + '<|end|>\n'}}"\