All models

Multi-Modal Foundation · dnagpt

human gpt2-v1

A GPT-2 DNA language model trained on the human T2T genome assembly for sequence feature extraction.

What human gpt2-v1 is

human gpt2-v1 is a genomic language model developed by dnagpt. Built upon the GPT-2 autoregressive transformer framework rather than bidirectional architectures like BERT, it applies language modelling techniques directly to human nucleotide sequences.

The model was pre-trained on the telomere-to-telomere (T2T) human genome assembly (reference GCF_009914755.1). It replaces traditional fixed k-mer windowing with byte-pair encoding tokenisation, outputting per-token hidden states and pooled vector representations for downstream biological feature extraction.

How it works

The model processes DNA nucleotide strings using byte-pair encoding (BPE) subword tokenisation instead of fixed k-mers. This breaks variable-length sequence patterns into discrete tokens before passing them through a GPT-2 transformer network implemented in PyTorch and Hugging Face Transformers.

For an input nucleotide sequence, the model generates hidden state representations with a hidden size of 768 per token position. To yield fixed-length sequence-level embeddings, researchers can extract these hidden states and perform mathematical operations such as mean pooling or maximum pooling across the sequence dimension, both resulting in a 768-dimensional vector.

Key facts

Architecture
GPT-2
Pipeline task
Feature extraction
Tokenisation method
Byte-pair encoding (BPE)
Pre-training data
T2T human genome assembly (dnagpt/human_genome_GCF_009914755.1)
Hidden state dimension
768
GPU memory requirement
16 GB

What you can use it for

DNA sequence feature extraction
Generating fixed 768-dimensional vector representations from raw human DNA sequences using mean or max pooling for downstream analysis.
Genomic subword tokenisation
Tokenising DNA sequences into variable-length nucleotide segments using a trained byte-pair encoding vocabulary.
Positional token embedding generation
Extracting full hidden-state tensors across every token position in a DNA sequence to inspect intermediate representations.

Run it here

No installation and no GPU of your own: fill in the inputs and it runs on our servers. Results stay in your browser unless you sign in.

Runs on On-demand GPU

Runs on our servers with on-demand compute. A first run needs time to load the model; active capacity can be reused and scales down when idle.

Run this model

human gpt2-v1

A protein or nucleotide sequence, or free text — whichever this model was trained on.

Needs sequence or text

Strengths and limits

Good at

  • Employs byte-pair encoding rather than fixed-length k-mer segmentation for sequence tokenisation.
  • Trained on the telomere-to-telomere (T2T) human reference genome assembly.
  • Outputs 768-dimensional representations readily compatible with mean and max pooling methods.

Watch out for

  • Requires 16 GB of GPU memory for execution.
  • Training is limited to human genome assembly data, excluding non-human organisms.
  • The available documentation does not report benchmark performance metrics across standard genomic tasks.

Inputs and outputs

You provide

  • Sequence or text

    A protein or nucleotide sequence, or free text — whichever this model was trained on.

You get back

  • Mean-pooled representation, one vector per input.

human gpt2-v1 API

The same run, from your own code: one HTTP request with an API key, billed in the same credits as the Run button. A fast run answers with its outputs; a longer one answers with a poll_url to read.

bash
curl https://corollary-labs.com/api/v1/models/dnagpt-human-gpt2-v1/runs \
  -H "Authorization: Bearer $COROLLARY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "sequence": "<Sequence or text>"
  }
}'

Make an API key, then read the models reference.

Licence

Commercial use permitted · apache-2.0

apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

Questions

Can I use human gpt2-v1 commercially?

Commercial use permitted. apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

How do I run human gpt2-v1 without installing anything?

Use the form under “Run it here” on this page: fill in the inputs and press Run model. It runs on our servers on CPU only, typically in 5.0s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.

What architecture does human gpt2-v1 use?

It uses an autoregressive GPT-2 architecture, distinguishing it from BERT-based genomic models such as DNABERT and GENA_LM.

How are DNA sequences tokenised by this model?

The model applies byte-pair encoding (BPE) rather than fixed k-mer tokenisation to segment DNA sequences.

What is the dimension of the generated embeddings?

The model outputs hidden states with a dimension of 768 per token, producing 768-dimensional vectors when mean-pooled or max-pooled across the sequence.

Which dataset was used to train the model?

It was pre-trained on the human T2T genome assembly under the dataset identifier dnagpt/human_genome_GCF_009914755.1.

Written from human gpt2-v1's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.