Merge pull request #5163 from liu-zichen/fix_ppo_optim
fix lr not change
This commit is contained in:
commit
da335d42c3
|
@ -135,6 +135,7 @@ class CustomPPOTrainer(PPOTrainer, Trainer):
|
|||
dataset=train_dataset,
|
||||
data_collator=data_collator,
|
||||
lr_scheduler=scheduler,
|
||||
optimizer=optimizer,
|
||||
)
|
||||
|
||||
self.args = training_args
|
||||
|
|
Loading…
Reference in New Issue