Update rl.py
This commit is contained in:
parent
da96bd8374
commit
722c4ecca6
1 changed files with 1 additions and 0 deletions
|
|
@ -245,6 +245,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
|
|||
extra_args += \
|
||||
"from unsloth_zoo.logging_utils import PatchRLStatistics\n"\
|
||||
f"PatchRLStatistics('{trainer_file}')\n"
|
||||
"print(args)\n"
|
||||
|
||||
# Create RLTrainer args
|
||||
extra_args = extra_args.split("\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue