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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Nightly (#784)
Daniel Han100ac9c0526c
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.pyindex 07cd8741254..3f75d16863a 100644--- a/unsloth/tokenizer_utils.py+++ b/unsloth/tokenizer_utils.py@@ -682,6 +682,11 @@ def fix_untrained_tokens(model, tokenizer, train_dataset, eps = 1e-16):embedding_matrix = model.get_input_embeddings ().weightlm_head_matrix = model.get_output_embeddings().weight+ # Ignore some model checks for now+ if model.config._name_or_path in IGNORED_TOKENIZER_NAMES:+ return+ pass+# Get untrained tokensindicator_untrained = torch.amax(embedding_matrix, axis = 1) <= epswhere_untrained = torch.where(indicator_untrained)[0]