Skip to content

Commit d0a9932

Browse files
committed
Formatting
1 parent 57c0e16 commit d0a9932

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/together/resources/finetune.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ def create_finetune_request(
186186
if dpo_beta is not None and training_method != "dpo":
187187
raise ValueError("dpo_beta is only supported for DPO training")
188188
if dpo_normalize_logratios_by_length and training_method != "dpo":
189-
raise ValueError("dpo_normalize_logratios_by_length=True is only supported for DPO training")
189+
raise ValueError(
190+
"dpo_normalize_logratios_by_length=True is only supported for DPO training"
191+
)
190192
if rpo_alpha is not None and training_method != "dpo":
191193
raise ValueError("rpo_alpha is only supported for DPO training")
192194
if simpo_gamma is not None and training_method != "dpo":

0 commit comments

Comments
 (0)