pub struct JobCreateParams {
pub model: Option<String>,
pub training_file: String,
pub hyperparameters: Option<Hyperparameters>,
pub integrations: Option<Vec<Integration>>,
pub metadata: Option<Value>,
pub method: Option<Method>,
pub seed: Option<i64>,
pub suffix: Option<String>,
pub validation_file: Option<String>,
}Fields§
§model: Option<String>The 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. This value is now deprecated
integrations: Option<Vec<Integration>>A list of integrations to enable for your fine-tuning job.
metadata: Option<Value>Set of 16 key-value pairs that can be attached to an object.
method: Option<Method>The method used for fine-tuning.
seed: Option<i64>The seed controls the reproducibility of the job.
suffix: Option<String>A string of up to 64 characters that will be added to your fine-tuned model
validation_file: Option<String>The ID of an uploaded file that contains validation data.
Trait Implementations§
Source§impl Clone for JobCreateParams
impl Clone for JobCreateParams
Source§fn clone(&self) -> JobCreateParams
fn clone(&self) -> JobCreateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JobCreateParams
impl Debug for JobCreateParams
Source§impl<'de> Deserialize<'de> for JobCreateParams
impl<'de> Deserialize<'de> for JobCreateParams
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 JobCreateParams
impl RefUnwindSafe for JobCreateParams
impl Send for JobCreateParams
impl Sync for JobCreateParams
impl Unpin for JobCreateParams
impl UnsafeUnpin for JobCreateParams
impl UnwindSafe for JobCreateParams
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