pub struct CreateFineTuningJobRequest {
pub model: String,
pub training_file: String,
pub hyperparameters: Option<Hyperparameters>,
pub suffix: Option<String>,
pub validation_file: Option<String>,
pub integrations: Option<Vec<Integration>>,
pub seed: Option<i64>,
}Expand description
Fields§
§model: StringThe name of the model to fine-tune.
training_file: StringThe ID of an uploaded file that contains training data.
hyperparameters: Option<Hyperparameters>The hyperparameters used for the fine-tuning job.
suffix: Option<String>A string of up to 18 characters that will be added to your fine-tuned model name.
validation_file: Option<String>The ID of an uploaded file that contains validation data.
integrations: Option<Vec<Integration>>A list of integrations to enable for your fine-tuning job.
seed: Option<i64>The seed controls the reproducibility of the job.
Trait Implementations§
Source§impl Clone for CreateFineTuningJobRequest
impl Clone for CreateFineTuningJobRequest
Source§fn clone(&self) -> CreateFineTuningJobRequest
fn clone(&self) -> CreateFineTuningJobRequest
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 CreateFineTuningJobRequest
impl Debug for CreateFineTuningJobRequest
Source§impl Default for CreateFineTuningJobRequest
impl Default for CreateFineTuningJobRequest
Source§fn default() -> CreateFineTuningJobRequest
fn default() -> CreateFineTuningJobRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateFineTuningJobRequest
impl<'de> Deserialize<'de> for CreateFineTuningJobRequest
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 CreateFineTuningJobRequest
impl RefUnwindSafe for CreateFineTuningJobRequest
impl Send for CreateFineTuningJobRequest
impl Sync for CreateFineTuningJobRequest
impl Unpin for CreateFineTuningJobRequest
impl UnwindSafe for CreateFineTuningJobRequest
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