
License: Evo2 is open source and free for academic and commercial use under an Apache-2.0 license. Please refer to the 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.

Generator contributors
dguo8412
Sequence generator using Evo2 genomic language model for DNA generation.
This generator uses the Evo2 7B parameter model to autoregressively generate
DNA sequences from prompt sequences. Supports advanced sampling strategies,
KV caching for efficiency, and batch generation.
The generator category is "autoregressive", indicating sequences
are generated token-by-token from left to right.
The number of tokens to generate is automatically calculated based on the
assigned segment’s sequence_length, prompt length, and prepend_prompt setting.
API Reference
Configuration object for Evo2Generator.This class defines configuration parameters for the Evo2 generator, which uses
a 7B parameter genomic language model to generate DNA sequences autoregressively
from prompt sequences.
All prompts must have identical lengths for batched generation. For detailed
information on Evo2 parameters, see: https://github.com/arcinstitute/evo2
List[string]
required
Prompt sequences for DNA sequence generation (single prompt or multiple)
enum
default:"evo2_7b"
Evo2 model variant to load (currently only evo2_7b).Options:
evo2_7b, evo2_20b, evo2_40b, evo2_7b_base, evo2_40b_base, evo2_1b_base, evo2_7b_262k, evo2_7b_microviridaestring
Path to local checkpoint weights for custom or finetuned models
string
default:"cuda"
GPU device to run Evo2 on (e.g. ‘cuda’ or ‘cuda:0’).
integer
default:"4"
Limits sampling to the top-k most probable tokens at each generation step.
number
default:"1"
Nucleus sampling cutoff. Restricts to the smallest token set with cumulative prob ≥ top-p.
number
default:"1.0"
Sharpness of sampling. Below 1 favors high-probability tokens; above 1 increases diversity.
integer
Optional number of tokens to prefill in parallel before switching to prompt forcing.
integer
Optional maximum sequence length to generate. Determines the max size of the cache if larger.
boolean
default:"True"
Whether to stop at end-of-sequence token
boolean
default:"True"
Generate all prompts together in a single batched forward pass. Required for multiple prompts.
integer
default:"1"
Number of sequences to process simultaneously on GPU
boolean
default:"True"
Whether to reuse KV-cache state across decoding steps to avoid recomputation.
boolean
default:"False"
Retain and expose the per-sequence KV-cache after generation so downstream callers can continue.
boolean
default:"False"
Whether to prepend prompt to generation
boolean
default:"False"
Whether to print verbose output
Usage
python