
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.

@articlebhatnagar2025progen3
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
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.ProGen3 model variant to load (e.g. progen3-762m).Options:
progen3-112m, progen3-219m, progen3-339m, progen3-762m, progen3-1b, progen3-3b‘forward’ extends the prompt toward the C-terminus; ‘reverse’ toward the N-terminus.Options:
forward, reverseSharpness of sampling. Below 1 favors high-probability tokens; above 1 increases diversity.
Fewest new residues before ProGen3 may stop; raise it to force full-length output.
Usage
python