Table of Contents

Class FineTuningJob

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

public class FineTuningJob : OpenAIObject, IFineTuningResult
Inheritance
object
FineTuningJob
Implements
Inherited Members

Properties

Error

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

public ErrorInfo Error { get; set; }

Property Value

ErrorInfo

FineTunedModel

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

public string FineTunedModel { get; set; }

Property Value

string

FinishedAt

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.

public UnixTime? FinishedAt { get; set; }

Property Value

UnixTime?

HyperParameters

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

public HyperParameters HyperParameters { get; set; }

Property Value

HyperParameters

OrganizationId

The organization that owns the fine-tuning job.

public string OrganizationId { get; set; }

Property Value

string

ResultFiles

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

public string[] ResultFiles { get; set; }

Property Value

string[]

Status

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

public FineTuningJobStatus? Status { get; set; }

Property Value

FineTuningJobStatus?

TrainedTokens

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.

public int? TrainedTokens { get; set; }

Property Value

int?

TrainingFile

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

public string TrainingFile { get; set; }

Property Value

string

ValidationFile

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

public string ValidationFile { get; set; }

Property Value

string