All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.felh.openai.fineTuning.Hyperparameters Maven / Gradle / Ivy

There is a newer version: 4.0.2024102501
Show newest version
package xyz.felh.openai.fineTuning;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import xyz.felh.openai.IOpenAiApiObject;

@Data
public class Hyperparameters implements IOpenAiApiObject {

    /**
     * string or integer
     * 

* 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. */ @JSONField(name = "n_epochs") @JsonProperty("n_epochs") private Object nEpochs; /** * string or integer Optional Defaults to auto *

* Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance. */ @JSONField(name = "batch_size") @JsonProperty("batch_size") private Object batchSize; /** * string or number Optional Defaults to auto *

* Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting. */ @JSONField(name = "learning_rate_multiplier") @JsonProperty("learning_rate_multiplier") private Object learningRateMultiplier; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy