ProtTrans (ProtT5)
The encoder of the ProtT5-XL-UniRef50 protein language model, used to embed amino acid sequences.
Molecules, proteins and genomics · 989 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 1.2B
- Operations
- 989
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE TPAMI (arXiv 2020)
- Cited by
- 254 (as of 21 October 2026)
- Authors
- Ahmed Elnaggar, Michael Heinzinger, Christian Dallago and others
- Source
- transformers 5.18.0
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m2289
- Graph hash
- 8dd16be9e759deed14acd43eafcf1e6904e31d0451c7a065482b1ea6c9c7b73d
- Skeleton hash
- 9df5565345272fadedcddb6272cc88d5ca9c8d2441b7625b3a8059dc7ea30e94
- Architecture hash
- b5e830c0b150e35fdb1c1efb6944d0463ac133890a2cfc204a9a0e97400c829f
- Diagram SHA-256
- dd0d64fadea2e332fb46fdf907e17bb4cbaa4929aed16daee0f393e15ae370cb
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is the encoder portion of ProtT5-XL-UniRef50, a protein language model, released on its own in half precision. It is mostly meant for creating amino-acid or protein embeddings with a low GPU-memory footprint. It only works with capital letter amino acids.
ProtT5-XL-UniRef50 is based on the t5-3b model and was pretrained on a large corpus of protein sequences in a self-supervised fashion. The original T5 masks spans of multiple tokens, whereas the ProtTrans authors adopted BERT's denoising objective, corrupting and reconstructing single tokens with a masking probability of 15%. The XL model was trained on BFD and, in a second step, fine-tuned on UniRef50.
The decoder is left out for a reason the paper gives: in the authors' tests the encoder outperformed the decoder on all benchmarks. They therefore dropped the decoder from further analysis, which cuts model size by half during inference. For per-residue predictions, the paper reports that ProtT5 embeddings were the first to outperform earlier methods without using evolutionary information.
Key idea. ProtTrans trained protein language models on large amino acid sequence databases and validated the advantage of using their embeddings as the only input for per-residue and per-protein prediction tasks.
- ProtT5
- ProtT5-XL-UniRef50
- ProtT5 encoder
- ProtTrans
- prot_t5_xl_half_uniref50-enc
- protein language model
- protein embeddings
- amino acid embeddings
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{elnaggar2021prottranscrackinglanguagelifes,
title={ProtTrans: Towards Cracking the Language of Life's Code Through Self-Supervised Deep Learning and High Performance Computing},
author={Ahmed Elnaggar and Michael Heinzinger and Christian Dallago and Ghalia Rihawi and Yu Wang and Llion Jones and Tom Gibbs and Tamas Feher and Christoph Angerer and Martin Steinegger and Debsindhu Bhowmik and Burkhard Rost},
year={2021},
eprint={2007.06225},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2007.06225},
}