Skip to content

Commit

Permalink
CPO / DPO: Fix red CI (#1749)
Browse files Browse the repository at this point in the history
* fix red CI

* precommit
  • Loading branch information
younesbelkada authored Jun 17, 2024
1 parent 4e23d95 commit 8f8e95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trl/trainer/cpo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ class CPOConfig(TrainingArguments):
def __post_init__(self):
if self.loss_type == "kto_pair":
raise ValueError("Support for kto_pair has been removed in CPOTrainer. Please use KTOTrainer.")
return super().__post_init__()
return super().__post_init__()

0 comments on commit 8f8e95e

Please sign in to comment.