Supervised Fine-Tuning Jobs
Create Supervised Fine-tuning Job
Create a supervised fine-tuning job via the Fireworks API, submitting training datasets, hyperparameters, and model configuration for managed SFT runs.
POST
Create Supervised Fine-tuning Job
Learning rate scheduler
Supervised fine-tuning jobs accept an optionallrScheduler object on the request body. Set exactly one of constant, linear, or cosine. When omitted, the trainer uses a constant learning rate after warmup.
Configure warmup separately with learningRateWarmupSteps (not inside lrScheduler).
For
linear and cosine:
minLrRatio— floor LR as a fraction oflearningRate(0.0–1.0).decayRatio— fraction of total training steps over which to decay. Omit or set0to decay over the full run.
linear and cosine require a base model on the Training V2 path. V1-routed models only support a constant schedule.
Example: cosine schedule
--learning-rate-scheduler, --learning-rate-min-lr-ratio, --learning-rate-decay-ratio).Authorizations
Query Parameters
Body
application/json
Response
200 - application/json
A successful response.
JobState represents the state an asynchronous job can be in.
- JOB_STATE_PAUSED: Job is paused, typically due to account suspension or manual intervention.
- JOB_STATE_DELETED: Job has been deleted.
- JOB_STATE_ARCHIVED: User-facing state for jobs whose row is retained post-delete (e.g. RLOR trainers within the checkpoint retention window). The internal row is still in JOB_STATE_DELETED; the gateway translates it to ARCHIVED on public responses.
Available options:
JOB_STATE_UNSPECIFIED, JOB_STATE_CREATING, JOB_STATE_RUNNING, JOB_STATE_COMPLETED, JOB_STATE_FAILED, JOB_STATE_CANCELLED, JOB_STATE_DELETING, JOB_STATE_WRITING_RESULTS, JOB_STATE_VALIDATING, JOB_STATE_DELETING_CLEANING_UP, JOB_STATE_PENDING, JOB_STATE_EXPIRED, JOB_STATE_RE_QUEUEING, JOB_STATE_CREATING_INPUT_DATASET, JOB_STATE_IDLE, JOB_STATE_CANCELLING, JOB_STATE_EARLY_STOPPED, JOB_STATE_PAUSED, JOB_STATE_DELETED, JOB_STATE_ARCHIVED Create Supervised Fine-tuning Job