Update rl.py
This commit is contained in:
parent
abc16ad45f
commit
8bdcfec233
1 changed files with 1 additions and 0 deletions
|
|
@ -429,6 +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)
|
||||
else:
|
||||
RL_pre = ""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue