pub struct FineTuningJob {Show 19 fields
pub id: String,
pub object: String,
pub model: String,
pub created_at: i64,
pub finished_at: Option<i64>,
pub fine_tuned_model: Option<String>,
pub organization_id: String,
pub result_files: Vec<String>,
pub status: FineTuningJobStatus,
pub validation_file: Option<String>,
pub training_file: String,
pub hyperparameters: Hyperparameters,
pub trained_tokens: Option<u64>,
pub error: Option<FineTuningError>,
pub seed: u64,
pub estimated_finish: Option<i64>,
pub integrations: Option<Vec<Integration>>,
pub method: Option<MethodConfig>,
pub user_provided_suffix: Option<String>,
}Expand description
A fine-tuning job object.
Fields§
§id: StringThe unique identifier for the job.
object: StringThe object type (always “fine_tuning.job”).
model: StringThe base model being fine-tuned.
created_at: i64The Unix timestamp when the job was created.
finished_at: Option<i64>The Unix timestamp when the job finished.
fine_tuned_model: Option<String>The name of the fine-tuned model (available after success).
organization_id: StringThe organization ID that owns the job.
result_files: Vec<String>Array of result file IDs.
status: FineTuningJobStatusThe current status of the job.
validation_file: Option<String>The validation file ID, if provided.
training_file: StringThe training file ID.
hyperparameters: HyperparametersThe hyperparameters used for training.
trained_tokens: Option<u64>The number of tokens trained on (null while running).
error: Option<FineTuningError>Error information if the job failed.
seed: u64The seed used for training.
estimated_finish: Option<i64>Estimated finish time (Unix timestamp).
integrations: Option<Vec<Integration>>Configured integrations.
method: Option<MethodConfig>The fine-tuning method used.
user_provided_suffix: Option<String>User-provided suffix for the model name.
Trait Implementations§
Source§impl Clone for FineTuningJob
impl Clone for FineTuningJob
Source§fn clone(&self) -> FineTuningJob
fn clone(&self) -> FineTuningJob
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FineTuningJob
impl Debug for FineTuningJob
Source§impl<'de> Deserialize<'de> for FineTuningJob
impl<'de> Deserialize<'de> for FineTuningJob
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FineTuningJob
impl RefUnwindSafe for FineTuningJob
impl Send for FineTuningJob
impl Sync for FineTuningJob
impl Unpin for FineTuningJob
impl UnwindSafe for FineTuningJob
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more