Search Results for

    Show / Hide Table of Contents

    Class FineTuningJob

    The fine_tuning.job object represents a fine-tuning job that has been created through the API.

    Inheritance
    object
    OpenAIObject
    FineTuningJob
    Implements
    IFineTuningResult
    IResult
    Inherited Members
    OpenAIObject.Id
    OpenAIObject.Object
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public class FineTuningJob : OpenAIObject, IFineTuningResult, IResult

    Properties

    | Edit this page View Source

    Error

    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
    | Edit this page View Source

    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
    | Edit this page View Source

    FineTunedModelId

    The fine-tuned model id/name produced by this job, if completed.

    Declaration
    public string FineTunedModelId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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?
    | Edit this page View Source

    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
    | Edit this page View Source

    JobId

    Provider job identifier for the fine-tuning task.

    Declaration
    public string JobId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    OrganizationId

    The organization that owns the fine-tuning job.

    Declaration
    [JsonProperty("organization_id")]
    public string OrganizationId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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[]
    | Edit this page View Source

    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?
    | Edit this page View Source

    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?
    | Edit this page View Source

    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
    | Edit this page View Source

    TrainingFileId

    Training file id used for this fine-tuning job.

    Declaration
    public string TrainingFileId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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
    | Edit this page View Source

    ValidationFileId

    Validation file id used for this fine-tuning job, if any.

    Declaration
    public string ValidationFileId { get; }
    Property Value
    Type Description
    string

    Implements

    IFineTuningResult
    IResult

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation