From e147af330e71d0c9793eeea8c7b68ccb07973970 Mon Sep 17 00:00:00 2001 From: Kian Kyars Date: Wed, 14 May 2025 19:00:23 -0600 Subject: [PATCH] undo accident --- unsloth/chat_templates.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py index 46e28dafd6..5c8cc87a51 100644 --- a/unsloth/chat_templates.py +++ b/unsloth/chat_templates.py @@ -800,7 +800,7 @@ qwen25_template = \ {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} - {{- \'\\n\\n{"name": "' }} + {{- \'\\n\\n{"name": "\' }} {{- tool_call.name }} {{- \'", "arguments": \' }} {{- tool_call.arguments | tojson }} @@ -2313,4 +2313,3 @@ def test_hf_gguf_equivalence(tokenizer, gguf_model = "./model-unsloth.F16.gguf") pass return True pass -