🔧 Fine-tuning Official Documentation

â‹™ Create Fine-tuning Job

Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.

msg.payload Properties

model string
The name of the model to fine-tune.
training_file string
The ID of an uploaded file that contains training data.
suffix string
A string of up to 18 characters that will be added to your fine-tuned model name.
validation_file string
The ID of an uploaded file that contains validation data.
integrations array
A list of integrations to enable for your fine-tuning job.
seed array
The seed controls the reproducibility of the job.
method object
The method used for fine-tuning.

â‹™ List Fine-tuning Jobs

List your organization's fine-tuning jobs

msg.payload Properties

after string
Identifier for the last job from the previous pagination request.
limit integer
Number of fine-tuning jobs to retrieve.

â‹™ Retrieve Fine-tuning Job

Get info about a fine-tuning job.

msg.payload Properties

fine_tuning_job_id string
The ID of the fine-tuning job.

â‹™ List Fine-tuning Events

Get status updates for a fine-tuning job.

msg.payload Properties

fine_tuning_job_id string
The ID of the fine-tuning job to get events for.
after string
Identifier for the last event from the previous pagination request.
limit integer
Number of events to retrieve.

â‹™ List Fine-tuning Checkpoints

List checkpoints for a fine-tuning job.

msg.payload Properties

fine_tuning_job_id string
The ID of the fine-tuning job to get checkpoints for.
after string
Identifier for the last checkpoint ID from the previous pagination request.
limit integer
Number of events to retrieve.

â‹™ Cancel Fine-tuning Job

Immediately cancel a fine-tune job.

msg.payload Properties

fine_tuning_job_id string
The ID of the fine-tuning job to cancel.