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 const fn registry_id(&self) -> &'static str
pub const fn registry_id(&self) -> &'static str
This variant’s registry id.
Sourcepub fn model_info(&self) -> Result<(WeightSource, &'static str, ESMCConfig)>
pub fn model_info(&self) -> Result<(WeightSource, &'static str, ESMCConfig)>
Returns (weight_source, filename, config) for this variant.
Repo and filename come from REGISTRY
(ferritin-goh.1). Those point at the EvolutionaryScale originals,
not the biohub/ESMC-* re-exports this once used: those are
TransformerEngine-FUSED, so nothing this port asks for resolved
(ferritin-100.23).
ESMC6B loads through its shard index and keeps its head at
lm_head rather than sequence_head (ferritin-100.24).
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
§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> ⓘ
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