Update rl.py
This commit is contained in:
parent
bae1d69611
commit
0e51ebdd58
1 changed files with 1 additions and 0 deletions
|
|
@ -401,6 +401,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
|
||||||
RLTrainer_source,
|
RLTrainer_source,
|
||||||
f"trl.trainer.{trainer_file}",
|
f"trl.trainer.{trainer_file}",
|
||||||
imports,
|
imports,
|
||||||
|
overwrite = False,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Patch Trainer
|
# Patch Trainer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue