Skip to content

Commit 137b84e

Browse files
hotfix: fix Pydantic serialization issues causing finetune job creation errors (#409)
* version update
1 parent 32fb539 commit 137b84e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api"
1212

1313
[tool.poetry]
1414
name = "together"
15-
version = "1.5.32"
15+
version = "1.5.33"
1616
authors = ["Together AI <[email protected]>"]
1717
description = "Python client for Together's Cloud Platform! Note: SDK 2.0 is now available at https://github.com/togethercomputer/together-py"
1818
readme = "README.md"

src/together/types/finetune.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ class FinetunePriceEstimationRequest(BaseModel):
337337
model: str
338338
n_epochs: int
339339
n_evals: int
340-
training_type: TrainingType
341-
training_method: TrainingMethod
340+
training_type: LoRATrainingType | FullTrainingType
341+
training_method: TrainingMethodSFT | TrainingMethodDPO
342342

343343

344344
class FinetunePriceEstimationResponse(BaseModel):

0 commit comments

Comments
 (0)