The fine_tuning.job object represents a fine-tuning job that has been created through the API.

interface FineTuningJob {
    created_at: number;
    error: null | Error;
    fine_tuned_model: null | string;
    finished_at: null | number;
    hyperparameters: openai.OpenAI.FineTuning.Jobs.FineTuningJob.Hyperparameters;
    id: string;
    model: string;
    object: "fine_tuning.job";
    organization_id: string;
    result_files: string[];
    status: "validating_files" | "queued" | "running" | "succeeded" | "failed" | "cancelled";
    trained_tokens: null | number;
    training_file: string;
    validation_file: null | string;
}

Properties

created_at: number

The Unix timestamp (in seconds) for when the fine-tuning job was created.

error: null | Error

For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.

fine_tuned_model: null | string

The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.

finished_at: null | number

The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.

The hyperparameters used for the fine-tuning job. See the fine-tuning guide for more details.

id: string

The object identifier, which can be referenced in the API endpoints.

model: string

The base model that is being fine-tuned.

object: "fine_tuning.job"

The object type, which is always "fine_tuning.job".

organization_id: string

The organization that owns the fine-tuning job.

result_files: string[]

The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.

status: "validating_files" | "queued" | "running" | "succeeded" | "failed" | "cancelled"

The current status of the fine-tuning job, which can be either validating_files, queued, running, succeeded, failed, or cancelled.

trained_tokens: null | number

The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.

training_file: string

The file ID used for training. You can retrieve the training data with the Files API.

validation_file: null | string

The file ID used for validation. You can retrieve the validation results with the Files API.

Generated using TypeDoc