From 4ecc4c35005b49946f1eada7990ea2de6ca76bc5 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 11 Feb 2025 16:04:56 -0800 Subject: [PATCH] Update rl.py --- unsloth/models/rl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py index f7265cff83..c41b45f1b1 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