openai_struct/models/
fine_tuning_job_checkpoint.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 FineTuningJobCheckpoint : The `fine_tuning.job.checkpoint` object represents a model checkpoint for a fine-tuning job that is ready to use.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct FineTuningJobCheckpoint {
18    /// The Unix timestamp (in seconds) for when the checkpoint was created.
19    #[serde(rename = "created_at")]
20    pub created_at: i32,
21    /// The name of the fine-tuned checkpoint model that is created.
22    #[serde(rename = "fine_tuned_model_checkpoint")]
23    pub fine_tuned_model_checkpoint: String,
24    /// The name of the fine-tuning job that this checkpoint was created from.
25    #[serde(rename = "fine_tuning_job_id")]
26    pub fine_tuning_job_id: String,
27    /// The checkpoint identifier, which can be referenced in the API endpoints.
28    #[serde(rename = "id")]
29    pub id: String,
30    #[serde(rename = "metrics")]
31    pub metrics: crate::models::FineTuningJobCheckpointMetrics,
32    /// The object type, which is always \"fine_tuning.job.checkpoint\".
33    #[serde(rename = "object")]
34    pub object: String,
35    /// The step number that the checkpoint was created at.
36    #[serde(rename = "step_number")]
37    pub step_number: i32,
38}