From e6bf29fceff734ab85504c114ebec6778daa4ee1 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Wed, 5 Feb 2025 17:52:36 -0800 Subject: [PATCH] Update chat_templates.py --- unsloth/chat_templates.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py index d8dc385223..c401393234 100644 --- a/unsloth/chat_templates.py +++ b/unsloth/chat_templates.py @@ -759,6 +759,10 @@ DEFAULT_SYSTEM_MESSAGE["llama-3.1"] = "" # Llama3.1 default system message is em CHAT_TEMPLATES["llama-31"] = (llama31_template, llama31_template_eos_token, False, llama31_ollama,) DEFAULT_SYSTEM_MESSAGE["llama-31"] = "" # Llama3.1 default system message is empty + the dates + +for version in ("llama-3.2", "llama-3.3", "llama-32", "llama-33"): + CHAT_TEMPLATES[version] = CHAT_TEMPLATES["llama-3.1"] + DEFAULT_SYSTEM_MESSAGE[version] = "" pass