View Source OpenaiEx.FineTuning.Job (openai_ex v0.5.4)

This module provides an implementation of the OpenAI fine-tuning job API. The API reference can be found at https://platform.openai.com/docs/api-reference/fine-tuning.

API Fields

The following fields can be used as parameters for various endpoints of the API:

  • :model

  • :training_file

  • :hyperparameters

  • :suffix

  • :validation_file

  • :after

  • :limit

Summary

Functions

Calls the fine-tuning job cancel endpoint.

Calls the fine-tuning job creation endpoint.

Calls the fine-tuning job list endpoint.

Calls the fine-tuning job list events endpoint.

Creates a new fine-tuning job request with the given arguments.

Calls the fine-tuning job retrieve endpoint.

Functions

Calls the fine-tuning job cancel endpoint.

https://platform.openai.com/docs/api-reference/fine-tuning/cancel

Link to this function

create(openai, finetuning)

View Source

Calls the fine-tuning job creation endpoint.

https://platform.openai.com/docs/api-reference/fine-tuning/create

Link to this function

list(openai, params \\ %{})

View Source

Calls the fine-tuning job list endpoint.

https://platform.openai.com/docs/api-reference/fine-tuning/list

Link to this function

list_events(openai, list)

View Source

Calls the fine-tuning job list events endpoint.

https://platform.openai.com/docs/api-reference/fine-tuning/events

Creates a new fine-tuning job request with the given arguments.

Arguments

  • args: A list of key-value pairs, or a map, representing the fields of the fine-tuning job request.

Returns

A map containing the fields of the fine-tuning job request.

Calls the fine-tuning job retrieve endpoint.

https://platform.openai.com/docs/api-reference/fine-tuning/retrieve