ProtT5 and ProtBERT
Protein language model · Rostlab · 2022

ProtT5 and ProtBERT

A family of transformers trained on UniRef and BFD with the objectives of their text counterparts. The T5 encoder is the part normally used, and its per-residue embeddings feed small supervised heads.

In plain language

The first generation of protein language models that worked. Still a fair baseline, and still fast enough to be worth trying before reaching for something larger.

One way to picture it

The reliable old lens. Sharper glass exists now, and this one still takes the picture.

Commonly misread as

Load the encoder half of ProtT5 and ignore the decoder. Almost nobody uses the full sequence-to-sequence model.

01 / Why it is here

Standing

Established that language models trained on protein sequences produce features carrying structural information, and that the embeddings transfer to secondary structure and localisation prediction without alignments.

02 / What sets it apart

Distinctions

  • ProtT5 embeddings remain a strong baseline for small labelled datasets.
  • The encoder is used alone; the decoder half is normally discarded.
  • Medium-sized encoders often match much larger ones once the downstream dataset is small.
03 / Where it stops

Limits

Older tokenisation and training data than the ESM line. For new work these are baselines rather than defaults.

Weights and code

Checked against the registry, not from memory
RepositorySizeLicenceNote
Rostlab/prot_t5_xl_uniref503B, encoder used aloneSee model card
Rostlab/prot_bert420MSee model card

Sources

Each number above comes from one of these

Same task, other answers

Protein language model