Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update tokenizer_utils.py

Daniel Han3017eae097dd
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.py
index df36552b4b8..5efe610a10e 100644
--- a/unsloth/tokenizer_utils.py
+++ b/unsloth/tokenizer_utils.py
@@ -42,15 +42,13 @@ IGNORED_TOKENIZER_CHECKING = frozenset((
IGNORED_TOKENIZER_NAMES = [
- # "unsloth/Mistral-Nemo-Instruct-2407-bnb-4bit",
- # "unsloth/Mistral-Nemo-Instruct-2407",
- # "mistralai/Mistral-Nemo-Instruct-2407",
- # "unsloth/Mistral-Nemo-Base-2407-bnb-4bit",
- # "unsloth/Mistral-Nemo-Base-2407",
- # "mistralai/Mistral-Nemo-Base-2407",
+ # Qwen Coder did not train on tool calling. Math did!
+ "unsloth/Qwen2.5-Coder-1.5B-Instruct",
+ "unsloth/Qwen2.5-Coder-7B-Instruct",
]
IGNORED_TOKENIZER_NAMES = frozenset(
- [x.lower() for x in IGNORED_TOKENIZER_NAMES]
+ [x.lower() for x in IGNORED_TOKENIZER_NAMES] + \
+ [x.lower()+"-bnb-4bit" for x in IGNORED_TOKENIZER_NAMES]
)
# Check environments