All families

HyenaDNA

6 models, molecules, proteins and genomics. Fewest parameters first.

HyenaDNA is a genomic foundation model: a network pretrained on the human reference genome that reads DNA one nucleotide at a time, with context lengths of up to 1 million tokens. The paper starts from the observation that earlier Transformer-based genomic models used 512 to 4k tokens of context because attention scales quadratically with sequence length. Those models also relied on tokenizers or fixed k-mers, which lose single nucleotide resolution.

Read more

In place of attention, HyenaDNA uses a simple stack of Hyena operators, a subquadratic drop-in replacement for attention in Transformers. The Hyena operator is built from modified input projections, implicit convolutions and gating. The tokenizer works on single characters, with a primary vocabulary of 4 nucleotides plus special tokens. Pretraining is next token (nucleotide) prediction on the human reference genome (HG38).

On fine-tuned benchmarks from the Nucleotide Transformer, the paper reports the top result at the time on 12 of 18 datasets, using a model with orders of magnitude fewer parameters and less pretraining data. The authors also explore what longer context enables, including what they describe as the first use of in-context learning in genomics. The pretrained checkpoints come in different sizes and sequence lengths, and for tiny-1k, the configuration of this model, the authors suggest a T4 GPU for pretraining, fine-tuning and inference.

AI-written summary; not reviewed by a person. Corrections welcome.

Paper: HyenaDNA: Long-Range Genomic Sequence Modeling at Single Nucleotide Resolution

Filter and sort these in the model list