From 33aa91ae424d8b4e4c1ecea6621e8d3a327a4f8d Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 17 Feb 2025 20:00:04 -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 7468897858..6466765588 100644 --- a/unsloth/models/rl.py +++ b/unsloth/models/rl.py @@ -429,7 +429,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"): # Get all pre-modules if trainer_file in RL_PRE_ITEMS: RL_pre = "\n".join(RL_PRE_ITEMS[trainer_file]) - print(RL_pre) + print(RL_PRE_ITEMS[trainer_file]) else: RL_pre = "" pass