struct OpenAI::HyperParams

Included Modules

Extended Modules

Defined in:

openai/api/fine_tuning.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(n_epochs : Int32 | String) #

[View source]

Instance Method Detail

def n_epochs : Int32 | String #

The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. "Auto" decides the optimal number of epochs based on the size of the dataset. If setting the number manually, we support any number between 1 and 50 epochs.


[View source]