All models

Literature · RaphaelMourad

Mistral-DNA-v1-138M-yeast

A pretrained mixture-of-experts DNA language model trained on approximately 1,000 yeast genomes.

What Mistral-DNA-v1-138M-yeast is

Mistral-DNA-v1-138M-yeast is a generative DNA language model developed by Raphaël Mourad for biological and genomic sequence analysis. It is designed as a foundational representation model specifically tailored to fungal nucleotide sequences.

The model modifies the Mistral-7B-v0.1 architecture by scaling down the number of layers and the hidden dimension for DNA sequence processing. It uses a mixture-of-experts structure containing 138.5 million parameters in total, structured as eight distinct expert networks of 17.31 million parameters each.

Pretraining was carried out on 10-kilobase DNA segments sourced from approximately 1,000 yeast genomes. It serves as a base model for extracting per-token hidden states, calculating sequence embeddings, and supporting downstream computational genomics tasks.

How it works

Mistral-DNA-v1-138M-yeast adopts a transformer-based mixture-of-experts architecture derived from Mistral-7B-v0.1. It incorporates Sliding-Window Attention and Grouped-Query Attention to process long genomic inputs, paired with a byte-fallback byte-pair encoding (BPE) tokenizer identical to that of DNABERT-2.

The network operates with a reduced hidden dimension of 256. During inference on a DNA string, tokenised nucleotide inputs yield hidden state representations with the shape [batch_size, sequence_length, 256], which can be condensed into full sequence embeddings using operations such as max pooling.

Key facts

Architecture
Mixture-of-experts transformer (Grouped-Query Attention, Sliding-Window Attention)
Total parameters
138.5M (8 experts × 17.31M parameters)
Hidden dimension
256
Tokenizer
Byte-fallback BPE (same as DNABERT-2)
Training data
Approximately 1,000 yeast genomes (10 kb sequences)
Input
DNA nucleotide sequences
Output
Token hidden states (dimension 256) and sequence embeddings

What you can use it for

DNA sequence embedding extraction
Generate 256-dimensional sequence-level embedding vectors from yeast DNA strings using token-level hidden states and max pooling.
Yeast genome representation learning
Extract contextual representations across 10 kb DNA fragments from diverse yeast strains for comparative genomics.
Base model fine-tuning
Serve as an initialised genomic foundation model for fine-tuning on downstream yeast sequence classification or regulatory element prediction tasks.

Run it here

We list this model but cannot run it yet: it has not been test-run here yet.

Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.

Strengths and limits

Good at

  • Uses a mixture-of-experts framework that provides 138.5 million parameters across eight 17.31-million-parameter modules.
  • Incorporates Grouped-Query and Sliding-Window Attention mechanisms designed for sequence processing.
  • Trained on long 10 kb genomic fragments spanning roughly 1,000 yeast strains.

Watch out for

  • Trained exclusively on yeast DNA sequences, which may limit transferability to non-fungal taxa.
  • Released strictly as a pretrained base model, requiring additional pooling or task-specific fine-tuning for practical classification tasks.
  • Requires Transformers version 4.34.0 or newer to operate.

Inputs and outputs

You provide

  • Prompt

    The model continues from here.

You get back

  • The model's completion.

Licence

Check the licence before commercial use · apache-2.0

The apache-2.0 licence carries terms worth reading before you depend on it.

Questions

Can I use Mistral-DNA-v1-138M-yeast commercially?

Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.

What organism was this model trained on?

The model was pretrained on approximately 1,000 yeast genomes using 10 kb DNA sequences.

What is the parameter size of the model?

It has 138.5 million parameters in total, structured as eight expert networks containing 17.31 million parameters each.

What output dimensions does the model produce?

The model outputs hidden states with a feature dimension of 256 per token, which can be pooled into a 256-dimensional sequence vector.

Which tokenizer is used for DNA inputs?

It uses a byte-fallback byte-pair encoding tokenizer that is identical to the one used in DNABERT-2.

Written from Mistral-DNA-v1-138M-yeast'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.