Genomics & Single-Cell · Hugging Face, Zhongguancun Academy and TIGEM
Carbon-X
A 14.8B language model that answers natural-language questions about DNA sequences and predicts variant effects.
What Carbon-X is
Carbon-X is a 14.8-billion-parameter decoder-only language model developed jointly by Hugging Face, Zhongguancun Academy, and the Telethon Institute of Genetics and Medicine (TIGEM). Built upon Qwen3-14B, it processes nucleotide sequences and natural-language text within a unified token stream, allowing researchers to ask questions about raw DNA sequences in plain English and receive explanations in return.
The model addresses common genomic interpretation tasks, including predicting whether coding and complex mutations are benign or pathogenic, identifying regulatory sequence elements, classifying organisms, and forecasting succeeding nucleotide bases. By integrating DNA and text without a separate biological encoder, it reasons across genomic sequences within standard conversational prompts.
Carbon-X achieves an average accuracy of 66.7% across five DNA benchmarks, two of which its authors built, and it leads every model its authors tested on coding-variant effects and next-base prediction. Operating with thinking disabled, the model delivers direct answers without generating lengthy reasoning traces.
How it works
Carbon-X extends the Qwen3-14B architecture with a hybrid vocabulary comprising standard byte-pair encoding (BPE) for English and 5,515 dedicated genomic tokens. Nucleotide sequences are parsed into non-overlapping 6-mers—each token representing six base pairs—while dedicated tail tokens represent trailing sequences of one to five bases. The decoder-only Transformer incorporates 40 layers, grouped-query attention, SwiGLU activations, and rotary position embeddings covering a context window of 40,960 tokens.
Training begins by initialising the DNA token embeddings across roughly 10 billion tokens while freezing the base transformer. The entire model then undergoes mid-training across 302 billion tokens comprising 55% raw DNA, 20% English text, 15% biological literature, and 10% instruction-following dialogues. This is followed by three epochs of supervised fine-tuning across genomic reasoning and sequence manipulation tasks, concluded by two rounds of asynchronous Group Relative Policy Optimization (GRPO) using verifiable, code-checked reward functions with thinking disabled.
Key facts
- Model size
- 14.8 billion parameters
- Base architecture
- Decoder-only Transformer (derived from Qwen3-14B)
- Context window
- 40,960 tokens
- Input modalities
- DNA sequences and plain-text English
- Output modalities
- Plain-text English and DNA sequences
- Sequence encoding
- Non-overlapping 6-mers with tail tokens
What you can use it for
- Coding variant effect prediction
- Classify whether single-nucleotide substitutions within protein-coding regions are benign or pathogenic directly from nucleotide sequences.
- Complex variant evaluation
- Analyse the likely functional impact of non-single-nucleotide mutations, such as insertions and deletions, alongside reference sequences.
- Regulatory feature identification
- Differentiate between promoter and enhancer regions, classify eukaryote organism groups, and detect transcription-factor binding sites and sequence motifs.
- Next-base sequence prediction
- Forecast continuing nucleotide bases from preceding DNA sequences to test local sequence understanding.
- Variant likelihood comparison
- Rank equal-length genetic variants against one another based on relative sequence log-likelihood.
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
Carbon-X
Strengths and limits
Good at
- Processes raw DNA and English conversation in a single decoder without needing an external sequence encoder.
- Achieves 74.9% balanced accuracy on coding variant classification in the BioReason benchmark.
- Employs a 6-mer hybrid tokenizer that reduces sequence length by mapping six base pairs to a single token while preserving exact sequence reconstruction.
- Operates efficiently without extended reasoning traces, generating direct answers in few output tokens.
Watch out for
- The model has not been clinically validated and cannot be used to guide medical interventions.
- Performance is comparatively poor on identifying splice sites (29.8% accuracy) and histone marks (34.6% accuracy).
- It struggles with exact algorithmic operations such as precise base counting, coordinate mapping, and error-free sequence editing.
- Generation quality degrades significantly when attempting to create long novel DNA sequences rather than interpreting existing ones.
- It may invent sequence identity or biological function if essential context such as coordinates, strand, or gene annotations is omitted.
Inputs and outputs
You provide
DNA sequences
FASTA, or one `name: SEQUENCE` per line. A line without a name continues the sequence above it, so wrapped FASTA works. In compare mode the first sequence is the reference. Up to about 245,000 bases in total.
Questionoptional
Needed in ask mode, ignored in compare mode. Put the question and the sequences in the same request.
What you already knowoptional
The gene, strand, coordinates or annotations. Without them the model may guess what the sequence is.
Modeoptional
Answer length (tokens)optional
A cut-off answer says so. Long DNA continuations are slow and degrade in quality.
You get back
Carbon-X's answer in English, or how to read the comparison.
What the model read, or each variant's change in log-likelihood against the reference.
Licence
Commercial use permitted · Apache-2.0
Apache-2.0 for the weights and the tokenizer code, as declared on the model card. The repository is not gated.
Questions
Can I use Carbon-X commercially?
Commercial use permitted. Apache-2.0 for the weights and the tokenizer code, as declared on the model card. The repository is not gated.
How do I run Carbon-X 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 2× A100, typically in 30s, and a run costs about 70 credits. Visitors without an account get 1,000 credits a month.
How are DNA sequences input into Carbon-X?
Nucleotide sequences can be typed or pasted directly into the conversation. The tokenizer automatically tags runs of canonical A, C, G, and T bases of length six or more as genomic tokens, chunking them into non-overlapping 6-mers.
How does Carbon-X handle ambiguous IUPAC nucleotide codes?
Only canonical A, C, G, and T bases are combined into 6-mer tokens. Any 6-mer containing ambiguity characters such as N is replaced with an unknown token, meaning sequences should ideally be filtered to canonical bases prior to input.
Can Carbon-X design long artificial DNA sequences?
No. The model was trained to interpret, classify, and explain existing genomic sequences, and generation quality degrades notably on long DNA outputs.
Should thinking mode be enabled when running inference?
Thinking mode should remain disabled. Carbon-X was post-trained and benchmarked with thinking turned off, and it is configured to provide direct answers without extended internal reasoning.
What information should be supplied to obtain reliable variant predictions?
Prompts should include both the reference and alternate sequences, or the reference sequence alongside exact position and base changes, complemented by known gene names, genomic coordinates, or strand orientation.
Written from Carbon-X'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.