pub enum FineTuningModel {
Gpt41_2025_04_14,
Gpt41Mini_2025_04_14,
Gpt41Nano_2025_04_14,
Gpt4oMini_2024_07_18,
Gpt4o_2024_08_06,
Gpt4_0613,
Gpt35Turbo_0125,
Gpt35Turbo_1106,
Gpt35Turbo_0613,
}Expand description
Base models that can be used for fine-tuning.
This enum covers all models that can be fine-tuned via the Fine-tuning API
(/v1/fine_tuning/jobs). Note that fine-tuning requires specific dated
model versions.
§Available Models
§GPT-4.1 Series (Latest)
- [
Gpt41_2025_04_14]: GPT-4.1 for fine-tuning - [
Gpt41Mini_2025_04_14]: GPT-4.1 Mini for fine-tuning - [
Gpt41Nano_2025_04_14]: GPT-4.1 Nano for fine-tuning
§GPT-4o Series
- [
Gpt4oMini_2024_07_18]: GPT-4o Mini for fine-tuning - [
Gpt4o_2024_08_06]: GPT-4o for fine-tuning
§GPT-4 Series
- [
Gpt4_0613]: GPT-4 for fine-tuning
§GPT-3.5 Series
- [
Gpt35Turbo_0125]: GPT-3.5 Turbo for fine-tuning
§Example
use openai_tools::common::models::FineTuningModel;
let model = FineTuningModel::Gpt4oMini_2024_07_18;
assert_eq!(model.as_str(), "gpt-4o-mini-2024-07-18");§Reference
Variants§
Gpt41_2025_04_14
gpt-4.1-2025-04-14 - GPT-4.1 for fine-tuning
Gpt41Mini_2025_04_14
gpt-4.1-mini-2025-04-14 - GPT-4.1 Mini for fine-tuning
Gpt41Nano_2025_04_14
gpt-4.1-nano-2025-04-14 - GPT-4.1 Nano for fine-tuning
Gpt4oMini_2024_07_18
gpt-4o-mini-2024-07-18 - GPT-4o Mini for fine-tuning
Gpt4o_2024_08_06
gpt-4o-2024-08-06 - GPT-4o for fine-tuning
Gpt4_0613
gpt-4-0613 - GPT-4 for fine-tuning
Gpt35Turbo_0125
gpt-3.5-turbo-0125 - GPT-3.5 Turbo for fine-tuning
Gpt35Turbo_1106
gpt-3.5-turbo-1106 - GPT-3.5 Turbo (older version)
Gpt35Turbo_0613
gpt-3.5-turbo-0613 - GPT-3.5 Turbo (legacy)
Implementations§
Trait Implementations§
Source§impl Clone for FineTuningModel
impl Clone for FineTuningModel
Source§fn clone(&self) -> FineTuningModel
fn clone(&self) -> FineTuningModel
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 FineTuningModel
impl Debug for FineTuningModel
Source§impl Default for FineTuningModel
impl Default for FineTuningModel
Source§fn default() -> FineTuningModel
fn default() -> FineTuningModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FineTuningModel
impl<'de> Deserialize<'de> for FineTuningModel
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
Source§impl Display for FineTuningModel
impl Display for FineTuningModel
Source§impl Hash for FineTuningModel
impl Hash for FineTuningModel
Source§impl PartialEq for FineTuningModel
impl PartialEq for FineTuningModel
Source§impl Serialize for FineTuningModel
impl Serialize for FineTuningModel
impl Copy for FineTuningModel
impl Eq for FineTuningModel
impl StructuralPartialEq for FineTuningModel
Auto Trait Implementations§
impl Freeze for FineTuningModel
impl RefUnwindSafe for FineTuningModel
impl Send for FineTuningModel
impl Sync for FineTuningModel
impl Unpin for FineTuningModel
impl UnwindSafe for FineTuningModel
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.