Skip to main content
ProGen3 Protein Language Model
License: ProGen3 uses Apache-2.0 for code and CC-BY-NC-SA-4.0 for model weights and has restrictions around commercial use and may require explicit attribution when utilized. Please refer to the code license and model weights license for full terms.

This generator is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


Go to Tool Page
ProtoProtoevo-design/proto-language
View source
@articlebhatnagar2025progen3
Copy citation
Generator contributors
Protein sequence generator using the ProGen3 autoregressive language model.
Each proposal gets one prompt (a single prompt is replicated across proposals) and is overwritten with ProGen3’s continuation. The new-residue budget fills the segment: segment_length - prompt_length when the prompt is kept, else segment_length. BeamSearchOptimizer accepts it with direction="forward": beam search appends each step’s residues to the C-terminal end of the beam, which reverse generation does not grow.

API Reference

ConfigProGen3GeneratorConfig Source
Configuration object for ProGen3Generator.Sampling defaults follow ProGen3SampleConfig in proto-tools (proto_tools/tools/causal_models/progen3/progen3_sample.py). The number of new residues is derived from the assigned segment’s length, as for ProGen2Generator.
ProGen3 may emit its end token before the segment is full, so outputs can be shorter than the segment (the generator base class logs a warning when they are); raise min_new_tokens to prevent that. A generation that runs out of budget is trimmed to it, since progen3-sample can return up to two residues more than max_new_tokens.
List[string]
required
Prompt sequences (plain residues, N to C) for protein generation
enum
default:"progen3-762m"
ProGen3 model variant to load (e.g. progen3-762m).Options: progen3-112m, progen3-219m, progen3-339m, progen3-762m, progen3-1b, progen3-3b
enum
default:"forward"
‘forward’ extends the prompt toward the C-terminus; ‘reverse’ toward the N-terminus.Options: forward, reverse
string
Path to local model weights
string
default:"cuda"
GPU device to run ProGen3 on (e.g. ‘cuda’ or ‘cuda:0’).
number
default:"0.2"
Sharpness of sampling. Below 1 favors high-probability tokens; above 1 increases diversity.
number
default:"0.95"
Nucleus sampling cumulative probability cutoff. 1.0 disables nucleus sampling.
integer
default:"1"
Fewest new residues before ProGen3 may stop; raise it to force full-length output.
boolean
default:"True"
Whether to prepend prompt to generation
integer
default:"1"
Number of sequences to process simultaneously on GPU
boolean
default:"False"
Whether to print verbose output

Usage

python

Metadata