pub struct CreateFineTuningJobRequest {
pub model: String,
pub training_file: String,
pub hyperparameters: Option<HyperParameters>,
pub suffix: Option<String>,
pub validation_file: Option<String>,
}
Expand description
Represents a request to create a new fine-tuning job.
Fields§
§model: String
Model to be fine-tuned.
training_file: String
File containing the training data.
hyperparameters: Option<HyperParameters>
Optional hyperparameters for the fine-tuning job.
suffix: Option<String>
Optional suffix for the fine-tuned model.
validation_file: Option<String>
Optional file containing validation data.
Implementations§
Source§impl CreateFineTuningJobRequest
impl CreateFineTuningJobRequest
Sourcepub fn hyperparameters(self, hyperparameters: HyperParameters) -> Self
pub fn hyperparameters(self, hyperparameters: HyperParameters) -> Self
Sets the value of the specified field.
Sourcepub fn validation_file(self, validation_file: String) -> Self
pub fn validation_file(self, validation_file: String) -> Self
Sets the value of the specified field.
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
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