Update rl.py
This commit is contained in:
parent
4d8cc00592
commit
3a9b3cac9a
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
|
|||
|
||||
# Get all pre-modules
|
||||
if RLTrainer_name in RL_PRE_ITEMS:
|
||||
RL_pre = "\n".join(RL_PRE_ITEMS)
|
||||
RL_pre = "\n".join(RL_PRE_ITEMS[RLTrainer_name])
|
||||
else:
|
||||
RL_pre = ""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue