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 Hancf14867bc0a9
diff --git a/unsloth/models/rl_replacements.py b/unsloth/models/rl_replacements.pyindex 56ad57f5cc1..a09fcb1fb2c 100644--- a/unsloth/models/rl_replacements.py+++ b/unsloth/models/rl_replacements.py@@ -43,7 +43,7 @@ def dpo_trainer_fix_columns(call_args, extra_args):" 'prompt_input_ids', 'prompt_attention_mask']\n"\" if all(x in column_names for x in check):\n"\" train_dataset = train_dataset.remove_columns(['chosen', 'rejected', 'prompt'])\n"\- " del check, column_names\n"\+ " del check, column_names\n"return fix_dporeturn ""pass