View Source ExOpenAI.Components.FineTune (ex_openai.ex v1.5.1)

Schema representing a FineTune within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.FineTune{
  created_at: integer(),
  events: [ExOpenAI.Components.FineTuneEvent.t()] | nil,
  fine_tuned_model: String.t(),
  hyperparams: %{
    batch_size: integer(),
    classification_n_classes: integer(),
    classification_positive_class: String.t(),
    compute_classification_metrics: boolean(),
    learning_rate_multiplier: float(),
    n_epochs: integer(),
    prompt_loss_weight: float()
  },
  id: String.t(),
  model: String.t(),
  object: :"fine-tune",
  organization_id: String.t(),
  result_files: [ExOpenAI.Components.OpenAIFile.t()],
  status: String.t(),
  training_files: [ExOpenAI.Components.OpenAIFile.t()],
  updated_at: integer(),
  validation_files: [ExOpenAI.Components.OpenAIFile.t()]
}