estimate_job
Estimate the cost of a fine-tuning job before submitting it. Returns estimated cost, cost range, current balance, and balance sufficiency. Always run this before creating a job to avoid insufficient funds.
Instructions
Get a cost estimate for a fine-tuning job before submitting it. Returns estimated cost, cost range, current balance, and whether balance is sufficient. Always estimate before creating a job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_model | No | HuggingFace model ID (e.g. 'Qwen/Qwen2.5-Coder-7B-Instruct'). Required unless base_user_model_id is provided. | |
| base_user_model_id | No | ID of a previously trained model. The base model is resolved automatically. | |
| num_epochs | No | Training epochs | |
| max_examples | No | Maximum examples | |
| repo_size_mb | No | Approximate repository size in MB (helps refine the estimate) | |
| use_case | No | Agent to use for the estimate (e.g. 'code_repo' for Cody, 'sera_code_repo' for SIERA). Defaults to code_repo. |