Update rl.py

This commit is contained in:
Daniel Han 2025-02-17 20:00:04 -08:00
commit 33aa91ae42

View file

@ -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