Skip to main content

Module esm2

Module esm2 

Source
Expand description

ESM-2 protein language model from Facebook/Meta Research.

This module implements ESM-2 (EsmForMaskedLM), a BERT-style masked language model trained on UniRef50. Weights are publicly available on HuggingFace without any license gate.

HuggingFace repos (facebook/esm2_t{6,12,30,33,36,48}_UR50D):

Features: sequence embeddings, per-residue logits, contact head predictions. Loads weights from HuggingFace safetensors format via ESM2Runner.

Note: Architecturally distinct from esmc (EvolutionaryScale ESM-C/ESM-3), which is multimodal and gated. ESM-2 is sequence-only and publicly accessible.

Modulesยง

esm2
esm2_runner
ESM2 Runner