struct

OpenAI::HyperParams

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
Source
new(n_epochs : Int32 | String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

n_epochs

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.

Source