struct

OpenAI::FineTuningJob

Inherits JSON::Serializable / Struct / Value / Object

Fine-tuning job object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

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

Source
error

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

Source
fine_tuned_model

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

Source
finished_at

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.

Source
hyperparameters

The hyperparameters used for the fine-tuning job.

Source
id

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

Source
model

The base model that is being fine-tuned.

Source
object

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

Source
organization_id

The organization that owns the fine-tuning job.

Source
result_files

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

Source
status

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

Source
trained_tokens

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.

Source
training_file

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

Source
validation_file

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

Source