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
Update tokenizer_utils.py
Daniel Hanc792fa4f2000
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.pyindex 5226c3c5b7f..82e82eb686a 100644--- a/unsloth/tokenizer_utils.py+++ b/unsloth/tokenizer_utils.py@@ -945,6 +945,7 @@ def patch_sft_trainer_tokenizer():" from functools import partial\n"\" tokenizer = partial(tokenizer, add_special_tokens = False)\n"\" processing_class = tokenizer\n"\+ " print(1111)\n""else:\n"\" add_special_tokens = False if has_bos_token_already else add_special_tokens\n\n"