Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
File-ID of a training file uploaded to the Together API
Name of the base model to run fine-tune job on
File-ID of a validation file uploaded to the Together API
Number of complete passes through the training dataset (higher values may improve results but increase cost and risk of overfitting)
Number of intermediate model versions saved during training for evaluation
Number of evaluations to be run on a given validation set during training
Number of training examples processed together (larger batches use more memory but may train faster). Defaults to "max". We use training optimizations like packing, so the effective batch size may be different than the value you set.
Controls how quickly the model adapts to new information (too high may cause instability, too low may slow convergence)
The learning rate scheduler to use. It specifies how the learning rate is adjusted during training.
The percent of steps at the start of training to linearly increase the learning rate.
Max gradient norm to be used for gradient clipping. Set to 0 to disable.
Weight decay. Regularization parameter for the optimizer.
Suffix that will be added to your fine-tuned model name
Integration key for tracking experiments and model metrics on W&B platform
The base URL of a dedicated Weights & Biases instance.
The Weights & Biases project for your run. If not specified, will use together
as the project name.
The Weights & Biases name for your run.
Whether to mask the user messages in conversational data or prompts in instruction data.
The training method to use. 'sft' for Supervised Fine-Tuning or 'dpo' for Direct Preference Optimization.
The checkpoint identifier to continue training from a previous fine-tuning job. Format is {$JOB_ID}
or {$OUTPUT_MODEL_NAME}
or {$JOB_ID}:{$STEP}
or {$OUTPUT_MODEL_NAME}:{$STEP}
. The step value is optional; without it, the final checkpoint will be used.
Response
Fine-tuning job initiated successfully
pending
, queued
, running
, compressing
, uploading
, cancel_requested
, cancelled
, error
, completed