Standing
Made the language-model route to structure practical at the scale of metagenomic surveys. It is a structure predictor built on ESM-2, not another name for the language model.
Predicts a structure from a single sequence with no alignment search at query time. A frozen ESM-2 supplies sequence representations to a folding trunk and a structure module derived from AlphaFold2.
It folds a protein from the sequence alone. No search for relatives, no waiting on a database. The language model already read enough proteins that its internal state stands in for the alignment.
A translator who has read the whole library does not stop to look words up. Faster, and slightly worse on the rare sentence where looking it up would have helped.
Faster does not mean better. When a deep alignment exists, an alignment-based predictor usually wins, and giving up that evidence is a trade you are choosing to make.
import torch
from transformers import AutoTokenizer, EsmForProteinFolding
tok = AutoTokenizer.from_pretrained("facebook/esmfold_v1")
model = EsmForProteinFolding.from_pretrained("facebook/esmfold_v1").eval()
seq = "MALWMRLLPLLALLALWGPDPAAAFVNQHLCGSHLVEALYLVCGERGFFYTPKT"
inputs = tok([seq], return_tensors="pt", add_special_tokens=False)
with torch.no_grad():
output = model(**inputs)
pdb = model.output_to_pdb(output)[0]
open("prediction.pdb", "w").write(pdb)These snippets have not been executed here. Versions move; check the model card before trusting a line of it.
Made the language-model route to structure practical at the scale of metagenomic surveys. It is a structure predictor built on ESM-2, not another name for the language model.
When a rich alignment exists, the evidence it carries is real and a model that ignores it gives that up. Single-sequence folding is a trade, not a free improvement.
| Repository | Size | Licence | Note |
|---|---|---|---|
| facebook/esmfold_v1 | ESM-2 3B plus folding trunk | MIT | — |
Evolution in, coordinates out.
Predicts the structure of a protein from its sequence, an alignment of its homologues and optional templates.
Explore the architecture Structure prediction2024One model for the whole complex.
Predicts the joint structure of complexes containing proteins, nucleic acids, small molecules, ions and modified residues.
Explore the architecture Structure prediction2026A language model encoder with an all-atom diffusion decoder.
Predicts all-atom structures of proteins and their complexes from ESM C representations, with an optional alignment for difficult targets.
Read the entry