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 Han48eda0ba345a
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.pyindex 1dbff4f57c0..3978f62e3b4 100644--- a/unsloth/tokenizer_utils.py+++ b/unsloth/tokenizer_utils.py@@ -1010,6 +1010,7 @@ passfor trainer_name in ("SFTTrainer", "DPOTrainer", "KTOTrainer"):trainer_text = patch_trl_tokenizer_processing_class(trainer_name)if trainer_text is None: continue+ print(trainer_text)exec(trainer_text, globals())exec(f"trl.trainer.{trainer_name} = Unsloth{trainer_name}", globals())pass