Create a fine-tuning job
together_create_fine_tuneStart a fine-tuning job on an uploaded training file (billed per token processed). Stop it with together_cancel_fine_tune. Together: POST /fine-tunes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Base model to fine-tune. | |
| suffix | No | Suffix for the fine-tuned model's name (max 64 chars). | |
| n_evals | No | Evaluations on the validation set during training. | |
| n_epochs | No | Passes over the training data. | |
| batch_size | No | Batch size, or 'max' (the default). | |
| warmup_ratio | No | ||
| learning_rate | No | ||
| n_checkpoints | No | Intermediate checkpoints to save. | |
| training_file | Yes | File id of an uploaded training file (purpose fine-tune). | |
| training_type | No | Full fine-tune or LoRA. Together defaults to LoRA when omitted. | |
| max_seq_length | No | ||
| from_checkpoint | No | Continue from a previous job: <job_id>, <output_model_name>, optionally with :<step>. | |
| training_method | No | Supervised fine-tuning (sft, the default) or preference tuning (dpo). | |
| validation_file | No | File id of an uploaded validation file. |