openai_struct/models/
fine_tune_supervised_method_hyperparameters.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11/// pub FineTuneSupervisedMethodHyperparameters : The hyperparameters used for the fine-tuning job.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct FineTuneSupervisedMethodHyperparameters {
18    /// Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
19    #[serde(rename = "batch_size")]
20    pub batch_size: Option<Value>,
21    /// Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
22    #[serde(rename = "learning_rate_multiplier")]
23    pub learning_rate_multiplier: Option<Value>,
24    /// The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
25    #[serde(rename = "n_epochs")]
26    pub n_epochs: Option<Value>,
27}