Class FineTuningJob
The fine_tuning.job object represents a fine-tuning job that has been created through the API.
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public class FineTuningJob : OpenAIObject, IFineTuningResult, IResult
Properties
| Edit this page View SourceError
For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.
Declaration
[JsonProperty("error")]
public BackendException Error { get; set; }
Property Value
| Type | Description |
|---|---|
| BackendException |
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.
Declaration
[JsonProperty("fine_tuned_model")]
public string FineTunedModel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FineTunedModelId
The fine-tuned model id/name produced by this job, if completed.
Declaration
public string FineTunedModelId { get; }
Property Value
| Type | Description |
|---|---|
| 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.
Declaration
[JsonProperty("finished_at")]
public UnixTime? FinishedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| UnixTime? |
HyperParameters
The hyperparameters used for the fine-tuning job. See the fine-tuning guide for more details.
Declaration
[JsonProperty("hyperparameters")]
public HyperParameters HyperParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| HyperParameters |
JobId
Provider job identifier for the fine-tuning task.
Declaration
public string JobId { get; }
Property Value
| Type | Description |
|---|---|
| string |
OrganizationId
The organization that owns the fine-tuning job.
Declaration
[JsonProperty("organization_id")]
public string OrganizationId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResultFiles
The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the Files API.
Declaration
[JsonProperty("result_files")]
public string[] ResultFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Status
The current status of the fine-tuning job, which can be either validating_files, queued, running, succeeded, failed, or cancelled.
Declaration
[JsonProperty("status")]
public FineTuningJobStatus? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| 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.
Declaration
[JsonProperty("trained_tokens")]
public int? TrainedTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TrainingFile
The file ID used for training. You can retrieve the training data with the Files API.
Declaration
[JsonProperty("training_file")]
public string TrainingFile { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TrainingFileId
Training file id used for this fine-tuning job.
Declaration
public string TrainingFileId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ValidationFile
The file ID used for validation. You can retrieve the validation results with the Files API.
Declaration
[JsonProperty("validation_file")]
public string ValidationFile { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValidationFileId
Validation file id used for this fine-tuning job, if any.
Declaration
public string ValidationFileId { get; }
Property Value
| Type | Description |
|---|---|
| string |