FineTunePreferenceRequestInput
objectThe per-line training example of a fine-tuning input file for chat models using the dpo method.
Show Child Parameters
One OfThe preferred completion message for the output.
<= 1 items
Messages sent by the model in response to user messages.
Show Child Parameters
One OfThe non-preferred completion message for the output.
<= 1 items
Messages sent by the model in response to user messages.
Show Child Parameters
FineTuneSupervisedMethod
objectConfiguration for the supervised fine-tuning method.
The hyperparameters used for the fine-tuning job.
Show Child Parameters
Fine-Tuning Job Integration
objectThe type of the integration being enabled for the fine-tuning job
Allowed values:wandb
The settings for your integration with Weights and Biases. This payload specifies the project that
metrics will be sent to. Optionally, you can set an explicit display name for your run, add tags
to your run, and set a default entity (team, username, etc) to be associated with your run.
Show Child Parameters
FineTuningJob
objectThe fine_tuning.job object represents a fine-tuning job that has been created through the API.
The object identifier, which can be referenced in the API endpoints.
The Unix timestamp (in seconds) for when the fine-tuning job was created.
For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.
Show Child Parameters
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 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. This value will only be returned when running supervised jobs.
Show Child Parameters
The base model that is being fine-tuned.
The object type, which is always “fine_tuning.job”.
Allowed values:fine_tuning.job
The organization that owns the fine-tuning job.
The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.
Example:file-abc123
The current status of the fine-tuning job, which can be either validating_files, queued, running, succeeded, failed, or cancelled.
Allowed values:validating_filesqueuedrunningsucceededfailedcancelled
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.
One OfA list of integrations to enable for this fine-tuning job.
<= 5 items
Show Child Parameters
The seed used for the fine-tuning job.
The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. The value will be null if the fine-tuning job is not running.
The method used for fine-tuning.
Show Child Parameters
FineTuningJobCheckpoint
objectThe fine_tuning.job.checkpoint object represents a model checkpoint for a fine-tuning job that is ready to use.
The checkpoint identifier, which can be referenced in the API endpoints.
The Unix timestamp (in seconds) for when the checkpoint was created.
The name of the fine-tuned checkpoint model that is created.
The step number that the checkpoint was created at.
Metrics at the step number during the fine-tuning job.
Show Child Parameters
The name of the fine-tuning job that this checkpoint was created from.
The object type, which is always “fine_tuning.job.checkpoint”.
Allowed values:fine_tuning.job.checkpoint