openai_struct/models/
fine_tuning_job_checkpoint_metrics.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 FineTuningJobCheckpointMetrics : Metrics at the step number during the fine-tuning job.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct FineTuningJobCheckpointMetrics {
18    #[serde(rename = "full_valid_loss")]
19    pub full_valid_loss: Option<f32>,
20    #[serde(rename = "full_valid_mean_token_accuracy")]
21    pub full_valid_mean_token_accuracy: Option<f32>,
22    #[serde(rename = "step")]
23    pub step: Option<f32>,
24    #[serde(rename = "train_loss")]
25    pub train_loss: Option<f32>,
26    #[serde(rename = "train_mean_token_accuracy")]
27    pub train_mean_token_accuracy: Option<f32>,
28    #[serde(rename = "valid_loss")]
29    pub valid_loss: Option<f32>,
30    #[serde(rename = "valid_mean_token_accuracy")]
31    pub valid_mean_token_accuracy: Option<f32>,
32}