struct OpenAI::FineTuningJob
- OpenAI::FineTuningJob
- Struct
- Value
- Object
Overview
Fine-tuning job object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/fine_tuning.crConstructors
Instance Method Summary
- #created_at : Time
-
#error : JSON::Any | Nil
For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.
-
#fine_tuned_model : String | Nil
The name of the fine-tuned model that is being created.
- #finished_at : Time | Nil
-
#hyperparameters : HyperParams | Nil
The hyperparameters used for the fine-tuning job.
-
#id : String
The object identifier, which can be referenced in the API endpoints.
-
#model : String
The base model that is being fine-tuned.
-
#object : String
The object type, which is always "fine_tuning.job".
-
#organization_id : String
The organization that owns the fine-tuning job.
-
#result_files : Array(String)
The compiled results file ID(s) for the fine-tuning job.
-
#status : FineTuningStatus
The current status of the fine-tuning job, which can be either created, pending, running, succeeded, failed, or cancelled.
-
#trained_tokens : Int32 | Nil
The total number of billable tokens processed by this fine-tuning job.
-
#training_file : String
The file ID used for training.
-
#validation_file : String | Nil
The file ID used for validation.
Constructor Detail
Instance Method Detail
For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.
The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.
The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.
The current status of the fine-tuning job, which can be either created, pending, running, succeeded, failed, or cancelled.
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.
The file ID used for training. You can retrieve the training data with the Files API.
The file ID used for validation. You can retrieve the validation results with the Files API.