From 60eccec6508efbc1ad28748b643a797e66207659 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Wed, 12 Mar 2025 21:47:53 -0700 Subject: [PATCH] Update chat_templates.py --- unsloth/chat_templates.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py index 05432fc190..87ff6f5153 100644 --- a/unsloth/chat_templates.py +++ b/unsloth/chat_templates.py @@ -1114,11 +1114,12 @@ def get_chat_template( # Check fast tokenizer if not is_fast_tokenizer: - print( - "Unsloth: Not a fast tokenizer, so can't process it as of yet :(\n"\ - "Please log a Github issue if you want this as a new feature!\n"\ - "Your chat template will still work, but it won't add or edit tokens." - ) + pass + # print( + # "Unsloth: Not a fast tokenizer, so can't process it as of yet :(\n"\ + # "Please log a Github issue if you want this as a new feature!\n"\ + # "Your chat template will still work, but it won't add or edit tokens." + # ) elif token_mapping is not None: # token_mapping = {"" : "<|im_start|>", "" : "<|im_end|>"}