pub struct FineTuningJob {Show 23 fields
pub id: String,
pub object: Option<String>,
pub created_at: u64,
pub finished_at: Option<u64>,
pub model: String,
pub fine_tuned_model: Option<String>,
pub organization_id: Option<String>,
pub status: FineTuningJobStatus,
pub training_file: String,
pub validation_file: Option<String>,
pub hyperparameters: Option<Hyperparameters>,
pub seed: Option<u64>,
pub suffix: Option<String>,
pub integrations: Option<Value>,
pub result_files: Vec<String>,
pub metrics: Option<FineTuneMetrics>,
pub user_provided_suffix: Option<bool>,
pub error: Option<ApiError>,
pub metadata: Option<HashMap<String, String>>,
pub method: Option<Value>,
pub estimated_finish: Option<u64>,
pub trained_tokens: Option<u64>,
pub estimated_finish_minutes: Option<u64>,
}Expand description
The result files of a completed fine-tuning job.
Fields§
§id: StringThe job ID, e.g. ftjob_....
object: Option<String>The object type, always fine_tuning.job.
created_at: u64Unix timestamp (seconds) of when the job was created.
finished_at: Option<u64>Unix timestamp (seconds) of when the job finished.
model: StringThe base model that was fine-tuned.
fine_tuned_model: Option<String>The name of the resulting fine-tuned model, once the job succeeds.
organization_id: Option<String>The organization that owns the job.
status: FineTuningJobStatusThe current lifecycle status.
training_file: StringThe ID of the uploaded JSONL training file.
validation_file: Option<String>The ID of the uploaded JSONL validation file, if provided.
hyperparameters: Option<Hyperparameters>The hyperparameters used for the job.
seed: Option<u64>The seed used for the job.
suffix: Option<String>The suffix appended to the fine-tuned model name.
integrations: Option<Value>The integrations configured for the job.
result_files: Vec<String>The accumulated metrics and checkpoints of the job.
metrics: Option<FineTuneMetrics>The computed metrics of the job, if available.
user_provided_suffix: Option<bool>The user that created the job.
error: Option<ApiError>The error of a failed job.
metadata: Option<HashMap<String, String>>Arbitrary key-value metadata attached to the job.
method: Option<Value>The method used for fine-tuning (supervised, DPO, or reinforcement learning), as raw JSON.
estimated_finish: Option<u64>Estimated number of billable tokens.
trained_tokens: Option<u64>Token counts of the job, when reported.
estimated_finish_minutes: Option<u64>Unix timestamp (seconds) of when the job is estimated to finish.