Enum llm::ModelArchitecture
source · pub enum ModelArchitecture {
Bloom,
Gpt2,
GptJ,
Llama,
NeoX,
}Expand description
All available model architectures.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ModelArchitecture
impl Clone for ModelArchitecture
source§fn clone(&self) -> ModelArchitecture
fn clone(&self) -> ModelArchitecture
Returns a copy 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 ModelArchitecture
impl Debug for ModelArchitecture
source§impl Display for ModelArchitecture
impl Display for ModelArchitecture
source§impl FromStr for ModelArchitecture
impl FromStr for ModelArchitecture
source§impl Hash for ModelArchitecture
impl Hash for ModelArchitecture
source§impl PartialEq<ModelArchitecture> for ModelArchitecture
impl PartialEq<ModelArchitecture> for ModelArchitecture
source§fn eq(&self, other: &ModelArchitecture) -> bool
fn eq(&self, other: &ModelArchitecture) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ModelArchitecture
impl Eq for ModelArchitecture
impl StructuralEq for ModelArchitecture
impl StructuralPartialEq for ModelArchitecture
Auto Trait Implementations§
impl RefUnwindSafe for ModelArchitecture
impl Send for ModelArchitecture
impl Sync for ModelArchitecture
impl Unpin for ModelArchitecture
impl UnwindSafe for ModelArchitecture
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