We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fdc57c commit 8a6ac62Copy full SHA for 8a6ac62
examples/dry_run_job.py
@@ -32,6 +32,7 @@ async def main():
32
print(f"Dataset tokens: {dry_run_job.data_tokens}")
33
print(f"Epochs number: {dry_run_job.epochs}")
34
print(f"Expected duration: {dry_run_job.expected_duration_seconds}")
35
+ print(f"Cost: {dry_run_job.cost} {dry_run_job.cost_currency}")
36
37
38
if __name__ == "__main__":
src/mistralai/models/jobs.py
@@ -32,6 +32,8 @@ class JobMetadata(BaseModel):
train_tokens: int
epochs: float
expected_duration_seconds: Optional[int]
+ cost: Optional[float] = None
+ cost_currency: Optional[str] = None
39
class Job(BaseModel):
0 commit comments