Merge pull request #5163 from liu-zichen/fix_ppo_optim

fix lr not change
This commit is contained in:
hoshi-hiyouga 2024-08-19 23:56:24 +08:00 committed by GitHub
commit da335d42c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ class CustomPPOTrainer(PPOTrainer, Trainer):
dataset=train_dataset,
data_collator=data_collator,
lr_scheduler=scheduler,
optimizer=optimizer,
)
self.args = training_args