View Source OpenaiEx.FineTune (openai_ex v0.1.9)
This module provides an implementation of the OpenAI fine-tune API. The API reference can be found at https://platform.openai.com/docs/api-reference/fine-tunes.
api-fields
API Fields
The following fields can be used as parameters for various endpoints of the API:
:training_file
:validation_file
:model
:n_epochs
:batch_size
:learning_rate_multiplier
:prompt_loss_weight
:compute_classification_metrics
:classification_n_classes
:classification_positive_class
:classification_betas
:suffix
:stream
Link to this section Summary
Functions
Calls the fine-tune cancel endpoint.
Calls the fine-tune creation endpoint.
Calls the fine-tune list endpoint.
Calls the fine-tune list events endpoint.
Creates a new fine-tune request with the given arguments.
Calls the fine-tune retrieve endpoint.
Link to this section Functions
Calls the fine-tune cancel endpoint.
https://platform.openai.com/docs/api-reference/fine-tunes/cancel
Calls the fine-tune creation endpoint.
https://platform.openai.com/docs/api-reference/fine-tunes/create
Calls the fine-tune list endpoint.
https://platform.openai.com/docs/api-reference/fine-tunes/list
Calls the fine-tune list events endpoint.
https://platform.openai.com/docs/api-reference/fine-tunes/events
Creates a new fine-tune request with the given arguments.
arguments
Arguments
args
: A list of key-value pairs, or a map, representing the fields of the fine-tune request.
returns
Returns
A map containing the fields of the fine-tune request.
Calls the fine-tune retrieve endpoint.
https://platform.openai.com/docs/api-reference/fine-tunes/retrieve