We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57c0e16 commit d0a9932Copy full SHA for d0a9932
src/together/resources/finetune.py
@@ -186,7 +186,9 @@ def create_finetune_request(
186
if dpo_beta is not None and training_method != "dpo":
187
raise ValueError("dpo_beta is only supported for DPO training")
188
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")
+ raise ValueError(
190
+ "dpo_normalize_logratios_by_length=True is only supported for DPO training"
191
+ )
192
if rpo_alpha is not None and training_method != "dpo":
193
raise ValueError("rpo_alpha is only supported for DPO training")
194
if simpo_gamma is not None and training_method != "dpo":
0 commit comments