Skip to content

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.

Update rl.py

Daniel Hanaf4cd27eb99d
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index f7265cff83e..c41b45f1b12 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -244,7 +244,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
# Add statistics as well!
extra_args += \
"from unsloth_zoo.logging_utils import PatchRLStatistics\n"\
- f"PatchRLStatistics('{trainer_file}')\n"
+ f"PatchRLStatistics('{trainer_file}')\n"\
"print(args)\n"
# Create RLTrainer args