pub enum ESMCModels {
ESMC300M,
ESMC600M,
ESMC6B,
}Expand description
Available ESMC model variants hosted on HuggingFace.
Variants§
ESMC300M
ESMC 300M — 30 layers, d_model=960 (~1.3 GB weights)
ESMC600M
ESMC 600M — 36 layers, d_model=1152
ESMC6B
ESMC 6B — 80 layers, d_model=2560 (backbone for ESMFold2)
Implementations§
Source§impl ESMCModels
impl ESMCModels
Sourcepub fn model_info(&self) -> (&'static str, ESMCConfig)
pub fn model_info(&self) -> (&'static str, ESMCConfig)
Returns (hf_repo_id, config) for this variant.
Auto Trait Implementations§
impl Freeze for ESMCModels
impl RefUnwindSafe for ESMCModels
impl Send for ESMCModels
impl Sync for ESMCModels
impl Unpin for ESMCModels
impl UnsafeUnpin for ESMCModels
impl UnwindSafe for ESMCModels
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
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more