From 4dda039cb1db7dc6fe9d9c840078d25bb2cfe700 Mon Sep 17 00:00:00 2001 From: Daniel Han-Chen Date: Sun, 16 Jun 2024 04:30:21 +1000 Subject: [PATCH] Update chat_templates.py --- unsloth/chat_templates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py index 2e3761f567..a2a02d7e6e 100644 --- a/unsloth/chat_templates.py +++ b/unsloth/chat_templates.py @@ -528,6 +528,7 @@ def get_chat_template( chat_template, stop_word = chat_template assert(type(chat_template) is str) assert(type(stop_word) is str) + ollama_modelfile = None elif type(chat_template) is str: