pub struct FineTuningJob {Show 19 fields
pub id: String,
pub created_at: i64,
pub error: Option<FineTuningJobError>,
pub fine_tuned_model: Option<String>,
pub finished_at: Option<i64>,
pub hyperparameters: Option<FineTuningJobHyperparameters>,
pub model: String,
pub object: String,
pub organization_id: String,
pub result_files: Vec<String>,
pub status: String,
pub trained_tokens: Option<i64>,
pub training_file: String,
pub validation_file: Option<String>,
pub integrations: Option<Vec<FineTuningIntegration>>,
pub seed: i32,
pub estimated_finish: Option<i64>,
pub method: Option<FineTuneMethod>,
pub metadata: Option<Metadata>,
}Expand description
The fine_tuning.job object represents a fine-tuning job that has been created through the API.
§Used By
/fine_tuning/jobs(GET - inListPaginatedFineTuningJobsResponse, POST response)/fine_tuning/jobs/{fine_tuning_job_id}(GET, POST response)/fine_tuning/jobs/{fine_tuning_job_id}/cancel(POST response)FineTuningJobCheckpoint
Fields§
§id: StringThe object identifier, which can be referenced in the API endpoints.
created_at: i64The Unix timestamp (in seconds) for when the fine-tuning job was created.
error: Option<FineTuningJobError>For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.
fine_tuned_model: Option<String>The name of the fine-tuned model that is being created. Null if the job is still running.
finished_at: Option<i64>The Unix timestamp (in seconds) for when the fine-tuning job was finished. Null if the job is still running.
hyperparameters: Option<FineTuningJobHyperparameters>Deprecated : The hyperparameters used for the fine-tuning job. See method.
model: StringThe base model that is being fine-tuned.
object: StringThe object type, which is always “fine_tuning.job”.
organization_id: StringThe organization that owns the fine-tuning job.
result_files: Vec<String>The compiled results file ID(s) for the fine-tuning job.
status: StringThe current status of the fine-tuning job.
trained_tokens: Option<i64>The total number of billable tokens processed by this job. Null if the job is still running.
training_file: StringThe file ID used for training.
validation_file: Option<String>The file ID used for validation. Null if no validation file was provided.
integrations: Option<Vec<FineTuningIntegration>>A list of integrations to enable for this fine-tuning job.
seed: i32The seed used for the fine-tuning job.
estimated_finish: Option<i64>The Unix timestamp (in seconds) for when the job is estimated to finish. Null if not running.
method: Option<FineTuneMethod>The fine-tuning method used.
metadata: Option<Metadata>Set of 16 key-value pairs attached to the object.
Trait Implementations§
Source§impl Clone for FineTuningJob
impl Clone for FineTuningJob
Source§fn clone(&self) -> FineTuningJob
fn clone(&self) -> FineTuningJob
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
Source§impl PartialEq for FineTuningJob
impl PartialEq for FineTuningJob
Source§impl Serialize for FineTuningJob
impl Serialize for FineTuningJob
impl StructuralPartialEq for FineTuningJob
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<C, E> EntryToVal<C> for Ewhere
C: Collection<Entry = E>,
impl<C, E> EntryToVal<C> for Ewhere
C: Collection<Entry = E>,
Source§type Val = <C as Collection>::Val
type Val = <C as Collection>::Val
Entry in complex collections.
For example, in a HashMap, while Entry might be a ( key, value ) tuple, Val might only be the value part.Source§fn entry_to_val(self) -> <E as EntryToVal<C>>::Val
fn entry_to_val(self) -> <E as EntryToVal<C>>::Val
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> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<C, Val> ValToEntry<C> for Valwhere
C: CollectionValToEntry<Val>,
impl<C, Val> ValToEntry<C> for Valwhere
C: CollectionValToEntry<Val>,
Source§fn val_to_entry(self) -> <C as CollectionValToEntry<Val>>::Entry
fn val_to_entry(self) -> <C as CollectionValToEntry<Val>>::Entry
Invokes the val_to_entry function of the CollectionValToEntry trait to convert the value to an entry.
Source§type Entry = <C as CollectionValToEntry<Val>>::Entry
type Entry = <C as CollectionValToEntry<Val>>::Entry
Entry is defined by the Collection trait.