Update rl.py
This commit is contained in:
parent
680384fa57
commit
4c520db499
1 changed files with 1 additions and 0 deletions
|
|
@ -404,6 +404,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
|
|||
imports,
|
||||
overwrite = True,
|
||||
)
|
||||
print("###")
|
||||
|
||||
# Patch Trainer
|
||||
exec(f"trl.{RLTrainer_name} = created_module.Unsloth{RLTrainer_name}", locals(), globals())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue