From f6505a1a48b783a5475d06db24ce2829bb157b33 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 23 Sep 2024 01:07:06 -0700 Subject: [PATCH] Update chat_templates.py --- unsloth/chat_templates.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py index e7d972f02f..d500afb726 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