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 rl_replacements.py
Daniel Hanc915b0ae2f97
diff --git a/unsloth/models/rl_replacements.py b/unsloth/models/rl_replacements.pyindex 65138feb13d..ba759095e8d 100644--- a/unsloth/models/rl_replacements.py+++ b/unsloth/models/rl_replacements.py@@ -33,6 +33,7 @@ def sft_trainer_fix_untraiend_tokens(call_args, extra_args):"if 'tokenizer' not in locals(): tokenizer = processing_class\n"\"fix_untrained_tokens(model, tokenizer, train_dataset, IGNORED_TOKENIZER_NAMES, eps = 1e-16)\n"\"fix_zero_training_loss(model, tokenizer, train_dataset)\n"+ "print(1111)\n",return fix_tokenizerreturn ""pass