Skip to content

Commit

Permalink
hotfix for dpo trainer
Browse files Browse the repository at this point in the history
addresses #914
  • Loading branch information
mnoukhov committed Oct 27, 2023
1 parent 02f5c1d commit 8a272cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trl/trainer/dpo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ def evaluation_loop(
)
}
)
self.state.log_history.pop()

# Base evaluation
initial_output = super().evaluation_loop(
Expand Down

0 comments on commit 8a272cc

Please sign in to comment.