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 Han947649af63a6
diff --git a/unsloth/models/rl_replacements.py b/unsloth/models/rl_replacements.pyindex 6098336e12d..5c6cb0c643e 100644--- a/unsloth/models/rl_replacements.py+++ b/unsloth/models/rl_replacements.py@@ -26,7 +26,7 @@ RL_FUNCTIONS = defaultdict(list)def sft_trainer_fix_untraiend_tokens(call_args, extra_args):if "model" in call_args and "train_dataset" in call_args:fix_tokenizer = \- "IGNORED_TOKENIZER_NAMES = os.environ.get('UNSLOTH_IGNORED_TOKENIZER_NAMES', '').split('\n')\n"\+ "IGNORED_TOKENIZER_NAMES = os.environ.get('UNSLOTH_IGNORED_TOKENIZER_NAMES', '').split('\\n')\n"\"from unsloth_zoo.tokenizer_utils import fix_untrained_tokens\n"\"from unsloth_zoo.training_utils import fix_zero_training_loss\n"\"if 'tokenizer' not in locals(): tokenizer = processing_class\n"\