
ProtBERT-style-progen2
Molecules, proteins and genomics1,039 ops151.1M params
An autoregressive transformer that models protein sequences by predicting the next amino acid token.
Molecules, proteins and genomics · 189 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.
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.
How this diagram was made
transformers.AutoModelForCausalLM.from_config()
ProGen2 is a suite of protein language models: each one reads a protein as a sequence of amino acids and learns to predict the next one. The authors treat raw amino acid sequences as the observed data and cast conditional protein generation as next-token prediction. The paper trains models ranging from 151M to 6.4B parameters on training sets that together hold about a billion protein sequences.
The paper describes the architecture as a standard transformer decoder with left-to-right causal masking and rotary positional encodings. In its forward pass the self-attention and feed-forward computations of a layer run in parallel instead of one after the other. Compared with the language models that informed its hyper-parameters, the paper uses fewer layers and a small number of wide attention heads, chosen to make better use of the training hardware.
The authors report that the models capture the distribution of observed evolutionary sequences, generate novel viable sequences and predict protein fitness without additional finetuning. Their conclusion concerns data more than size: they argue that growing emphasis should go to the data distribution a protein sequence model is given. The standard ProGen2 models are pretrained on a mixture of the Uniref90 and BFD30 databases.
Key idea. ProGen2 scales autoregressive protein language models up to 6.4B parameters and trains them on over a billion protein sequences from genomic, metagenomic and immune repertoire databases.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{nijkamp2022progen2exploringboundariesprotein,
title={ProGen2: Exploring the Boundaries of Protein Language Models},
author={Erik Nijkamp and Jeffrey Ruffolo and Eli N. Weinstein and Nikhil Naik and Ali Madani},
year={2022},
eprint={2206.13517},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2206.13517},
}