Class FineTuningJob
-
- All Implemented Interfaces:
public final class FineTuningJobThe
fine_tuning.jobobject represents a fine-tuning job that has been created through the API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFineTuningJob.Builderpublic final classFineTuningJob.ErrorFor fine-tuning jobs that have
failed, this will contain more information on the cause of the failure.public final classFineTuningJob.HyperparametersThe hyperparameters used for the fine-tuning job. This value will only be returned when running
supervisedjobs.public final classFineTuningJob.StatusThe current status of the fine-tuning job, which can be either
validating_files,queued,running,succeeded,failed, orcancelled.public final classFineTuningJob.MethodThe method used for fine-tuning.
-
Method Summary
Modifier and Type Method Description final Stringid()The object identifier, which can be referenced in the API endpoints. final LongcreatedAt()The Unix timestamp (in seconds) for when the fine-tuning job was created. final Optional<FineTuningJob.Error>error()For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.final Optional<String>fineTunedModel()The name of the fine-tuned model that is being created. final Optional<Long>finishedAt()The Unix timestamp (in seconds) for when the fine-tuning job was finished. final FineTuningJob.Hyperparametershyperparameters()The hyperparameters used for the fine-tuning job. final Stringmodel()The base model that is being fine-tuned. final JsonValue_object_()The object type, which is always "fine_tuning.job". final StringorganizationId()The organization that owns the fine-tuning job. final List<String>resultFiles()The compiled results file ID(s) for the fine-tuning job. final Longseed()The seed used for the fine-tuning job. final FineTuningJob.Statusstatus()The current status of the fine-tuning job, which can be either validating_files,queued,running,succeeded,failed, orcancelled.final Optional<Long>trainedTokens()The total number of billable tokens processed by this fine-tuning job. final StringtrainingFile()The file ID used for training. final Optional<String>validationFile()The file ID used for validation. final Optional<Long>estimatedFinish()The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. final Optional<List<FineTuningJobWandbIntegrationObject>>integrations()A list of integrations to enable for this fine-tuning job. final Optional<FineTuningJob.Method>method()The method used for fine-tuning. final JsonField<String>_id()The object identifier, which can be referenced in the API endpoints. final JsonField<Long>_createdAt()The Unix timestamp (in seconds) for when the fine-tuning job was created. final JsonField<FineTuningJob.Error>_error()For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.final JsonField<String>_fineTunedModel()The name of the fine-tuned model that is being created. final JsonField<Long>_finishedAt()The Unix timestamp (in seconds) for when the fine-tuning job was finished. final JsonField<FineTuningJob.Hyperparameters>_hyperparameters()The hyperparameters used for the fine-tuning job. final JsonField<String>_model()The base model that is being fine-tuned. final JsonField<String>_organizationId()The organization that owns the fine-tuning job. final JsonField<List<String>>_resultFiles()The compiled results file ID(s) for the fine-tuning job. final JsonField<Long>_seed()The seed used for the fine-tuning job. final JsonField<FineTuningJob.Status>_status()The current status of the fine-tuning job, which can be either validating_files,queued,running,succeeded,failed, orcancelled.final JsonField<Long>_trainedTokens()The total number of billable tokens processed by this fine-tuning job. final JsonField<String>_trainingFile()The file ID used for training. final JsonField<String>_validationFile()The file ID used for validation. final JsonField<Long>_estimatedFinish()The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. final JsonField<List<FineTuningJobWandbIntegrationObject>>_integrations()A list of integrations to enable for this fine-tuning job. final JsonField<FineTuningJob.Method>_method()The method used for fine-tuning. final Map<String, JsonValue>_additionalProperties()final FineTuningJobvalidate()final FineTuningJob.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FineTuningJob.Builderbuilder()-
-
Method Detail
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) for when the fine-tuning job was created.
-
error
final Optional<FineTuningJob.Error> error()
For fine-tuning jobs that have
failed, this will contain more information on the cause of the failure.
-
fineTunedModel
final Optional<String> 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.
-
finishedAt
final Optional<Long> 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.
-
hyperparameters
final FineTuningJob.Hyperparameters hyperparameters()
The hyperparameters used for the fine-tuning job. This value will only be returned when running
supervisedjobs.
-
organizationId
final String organizationId()
The organization that owns the fine-tuning job.
-
resultFiles
final List<String> resultFiles()
The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.
-
status
final FineTuningJob.Status status()
The current status of the fine-tuning job, which can be either
validating_files,queued,running,succeeded,failed, orcancelled.
-
trainedTokens
final Optional<Long> 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.
-
trainingFile
final String trainingFile()
The file ID used for training. You can retrieve the training data with the Files API.
-
validationFile
final Optional<String> validationFile()
The file ID used for validation. You can retrieve the validation results with the Files API.
-
estimatedFinish
final Optional<Long> estimatedFinish()
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.
-
integrations
final Optional<List<FineTuningJobWandbIntegrationObject>> integrations()
A list of integrations to enable for this fine-tuning job.
-
method
final Optional<FineTuningJob.Method> method()
The method used for fine-tuning.
-
_id
final JsonField<String> _id()
The object identifier, which can be referenced in the API endpoints.
-
_createdAt
final JsonField<Long> _createdAt()
The Unix timestamp (in seconds) for when the fine-tuning job was created.
-
_error
final JsonField<FineTuningJob.Error> _error()
For fine-tuning jobs that have
failed, this will contain more information on the cause of the failure.
-
_fineTunedModel
final JsonField<String> _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.
-
_finishedAt
final JsonField<Long> _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.
-
_hyperparameters
final JsonField<FineTuningJob.Hyperparameters> _hyperparameters()
The hyperparameters used for the fine-tuning job. This value will only be returned when running
supervisedjobs.
-
_organizationId
final JsonField<String> _organizationId()
The organization that owns the fine-tuning job.
-
_resultFiles
final JsonField<List<String>> _resultFiles()
The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.
-
_status
final JsonField<FineTuningJob.Status> _status()
The current status of the fine-tuning job, which can be either
validating_files,queued,running,succeeded,failed, orcancelled.
-
_trainedTokens
final JsonField<Long> _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.
-
_trainingFile
final JsonField<String> _trainingFile()
The file ID used for training. You can retrieve the training data with the Files API.
-
_validationFile
final JsonField<String> _validationFile()
The file ID used for validation. You can retrieve the validation results with the Files API.
-
_estimatedFinish
final JsonField<Long> _estimatedFinish()
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.
-
_integrations
final JsonField<List<FineTuningJobWandbIntegrationObject>> _integrations()
A list of integrations to enable for this fine-tuning job.
-
_method
final JsonField<FineTuningJob.Method> _method()
The method used for fine-tuning.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FineTuningJob validate()
-
toBuilder
final FineTuningJob.Builder toBuilder()
-
builder
final static FineTuningJob.Builder builder()
-
-
-
-