pub enum ModelArchitecture {
Llama,
Qwen2,
Qwen3,
Phi3,
Gemma2,
Gemma3,
Gemma4,
Opt,
}Expand description
Supported LLM architecture families matching SamsungLabs/LittleBit plus Gemma 4.
Variants§
Llama
Llama, Llama 2, and Llama 3 (model_type = "llama").
Qwen2
Qwen2, Qwen2.5, and QwQ (model_type = "qwen2").
Qwen3
Qwen3 (model_type = "qwen3").
Phi3
Phi-3 and Phi-4 (model_type = "phi3").
Gemma2
Gemma 2 (model_type = "gemma2").
Gemma3
Gemma 3 (model_type = "gemma3" | "gemma3_text").
Gemma4
Gemma 4 Dense and MoE (model_type = "gemma4" | "gemma4_text").
Opt
Meta OPT (model_type = "opt").
Trait Implementations§
Source§impl Clone for ModelArchitecture
impl Clone for ModelArchitecture
impl Copy for ModelArchitecture
Source§impl Debug for ModelArchitecture
impl Debug for ModelArchitecture
impl Eq for ModelArchitecture
Source§impl Hash for ModelArchitecture
impl Hash for ModelArchitecture
Source§impl PartialEq for ModelArchitecture
impl PartialEq for ModelArchitecture
impl StructuralPartialEq for ModelArchitecture
Auto Trait Implementations§
impl Freeze for ModelArchitecture
impl RefUnwindSafe for ModelArchitecture
impl Send for ModelArchitecture
impl Sync for ModelArchitecture
impl Unpin for ModelArchitecture
impl UnsafeUnpin for ModelArchitecture
impl UnwindSafe for ModelArchitecture
Blanket Implementations§
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more