pub struct ESMFold2Config {Show 40 fields
pub esmc_model_id: &'static str,
pub lm_d_model: usize,
pub lm_num_layers: usize,
pub lm_encoder_n_layers: usize,
pub lm_dropout: f64,
pub d_inputs: usize,
pub d_single: usize,
pub d_pair: usize,
pub n_relative_residx_bins: usize,
pub n_relative_chain_bins: usize,
pub d_atom: usize,
pub d_token_atom: usize,
pub atom_encoder_n_blocks: usize,
pub atom_encoder_n_heads: usize,
pub atom_encoder_swa_window: usize,
pub trunk_n_layers: usize,
pub trunk_n_heads: usize,
pub trunk_dropout: f64,
pub msa_enabled: bool,
pub c_token: usize,
pub token_num_blocks: usize,
pub token_num_heads: usize,
pub c_atom: usize,
pub atom_num_blocks: usize,
pub atom_num_heads: usize,
pub fourier_dim: usize,
pub sigma_data: f64,
pub inference_s_max: f64,
pub inference_s_min: f64,
pub inference_num_steps: usize,
pub inference_p: f64,
pub noise_scale: f64,
pub gamma_0: f64,
pub gamma_min: f64,
pub step_scale: f64,
pub confidence_n_layers: usize,
pub num_plddt_bins: usize,
pub num_pae_bins: usize,
pub num_pde_bins: usize,
pub distogram_bins: usize,
}Expand description
Full configuration for ESMFold2-Fast (biohub/ESMFold2-Fast).
All values default to the ESMFold2-Fast configuration unless noted. Source: biohub/ESMFold2-Fast config.json + architecture audit (2026-05-27).
Fields§
§esmc_model_id: &'static strHuggingFace repo for the frozen ESMC-6B encoder backbone.
lm_d_model: usize§lm_num_layers: usize§lm_encoder_n_layers: usize§lm_dropout: f64§d_inputs: usize§d_single: usize§d_pair: usize§n_relative_residx_bins: usize§n_relative_chain_bins: usize§d_atom: usize§d_token_atom: usize§atom_encoder_n_blocks: usize§atom_encoder_n_heads: usize§atom_encoder_swa_window: usize§trunk_n_layers: usize§trunk_n_heads: usize§trunk_dropout: f64§msa_enabled: bool§c_token: usize§token_num_blocks: usize§token_num_heads: usize§c_atom: usize§atom_num_blocks: usize§atom_num_heads: usize§fourier_dim: usize§sigma_data: f64§inference_s_max: f64§inference_s_min: f64§inference_num_steps: usize§inference_p: f64§noise_scale: f64§gamma_0: f64§gamma_min: f64§step_scale: f64§confidence_n_layers: usize§num_plddt_bins: usize§num_pae_bins: usize§num_pde_bins: usize§distogram_bins: usizeImplementations§
Trait Implementations§
Source§impl Clone for ESMFold2Config
impl Clone for ESMFold2Config
Source§fn clone(&self) -> ESMFold2Config
fn clone(&self) -> ESMFold2Config
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 moreAuto Trait Implementations§
impl Freeze for ESMFold2Config
impl RefUnwindSafe for ESMFold2Config
impl Send for ESMFold2Config
impl Sync for ESMFold2Config
impl Unpin for ESMFold2Config
impl UnsafeUnpin for ESMFold2Config
impl UnwindSafe for ESMFold2Config
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,
§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