ESM-2 / ESMFold
Protein language models from 8 million to 15 billion parameters trained on UniRef sequences; embeddings power variant-effect and function prediction, and ESMFold predicts structure directly from a single sequence without MSAs.
🤗 1 303 383 downloads / month ♥ 89 updated 2023-03-21At a glance
What it does
Masked-language modelling over amino acids; the 650M checkpoint is the practical default for embeddings, zero-shot variant scoring (log-likelihood ratios) and fine-tuning on oncology protein tasks.
Tasks, data types and cancers
Architecture
Training data
UniRef50 clusters (sampled from UniRef90 members), ~65 million unique sequences.
Evaluation
| Benchmark / dataset | Metric | Value | External validation | Source |
|---|---|---|---|---|
| CAMEO / CASP14 (ESMFold) | TM-score | close to AlphaFold 2 on high-perplexity-free targets, faster by orders of magnitude (paper) | yes | Source |
How to run
from transformers import AutoTokenizer, EsmModel
tok = AutoTokenizer.from_pretrained('facebook/esm2_t33_650M_UR50D')
model = EsmModel.from_pretrained('facebook/esm2_t33_650M_UR50D')
out = model(**tok('MKTAYIAKQRQISFVKSHFSRQ', return_tensors='pt'))
emb = out.last_hidden_state # 1 x L x 1280
Regulatory status and intended use
Regulatory status is quoted from the source linked above and can change. Research-use-only models must not be used for clinical decisions.
Limitations and bias
- Sequence-only: no ligands, no complexes.
- Zero-shot variant scores are less accurate than supervised predictors for clinical classification.
Sources
This page is educational — it is not medical advice and does not replace consultation with an oncologist. Diagnostic and treatment decisions are made solely by specialist physicians.