Literature · RaphaelMourad
Mistral-Prot-v1-15M
A 15.2-million-parameter generative protein language model based on the Mixtral architecture.
What Mistral-Prot-v1-15M is
Mistral-Prot-v1-15M is a pretrained generative language model designed for protein sequences, developed by Raphaël Mourad. Built for applications in biology and chemistry, the model operates over amino acid sequences using a compact 15.2-million-parameter configuration.
The model adapts the Mixtral-8x7B-v0.1 architecture specifically for biological sequences by simplifying the network structure, notably through a decreased number of layers and a reduced hidden state size. It serves as a foundational base model for representing and generating protein sequences.
How it works
Mistral-Prot-v1-15M is a transformer model based on the Mixtral-8x7B-v0.1 design. It incorporates a mixture-of-experts architecture, grouped-query attention, sliding-window attention, and a byte-fallback byte pair encoding (BPE) tokenizer. Its network depth and hidden dimension are scaled down from the original Mixtral architecture, yielding a 256-dimensional hidden state vector per position.
The model was pretrained on 10 million protein strings sourced from the UniProt 50 database, enabling it to learn generative patterns and produce numerical sequence representations.
Key facts
- Model parameters
- 15.2M
- Base architecture
- Mixtral-8x7B-v0.1 (simplified Mixture of Experts)
- Pretraining dataset
- 10M protein strings from UniProt 50
- Hidden dimension
- 256
- Tokenizer
- Byte-fallback BPE
- Attention mechanisms
- Grouped-query attention, sliding-window attention
What you can use it for
- Protein sequence embedding
- Extracting contextual per-residue hidden states or pooled 256-dimensional vectors from amino acid sequences such as insulin.
- Generative sequence design
- Generating de novo protein sequences or extending sequence fragments through autoregressive text generation.
- Downstream biological fine-tuning
- Serving as a lightweight pretrained base model for adaptation to specific biochemical and molecular 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
- Maintains a lightweight footprint of 15.2 million parameters, allowing efficient feature extraction and inference.
- Integrates mixture-of-experts routing alongside grouped-query and sliding-window attention mechanisms.
- Pretrained on a substantial dataset of 10 million diverse sequences from the UniProt 50 database.
Watch out for
- Functions as an unaligned base model and has not been fine-tuned for specific molecular property predictions or laboratory tasks.
- Features a reduced hidden size of 256, which provides lower representational capacity than larger language models.
- Requires remote code execution and a Transformers library version of 4.34.0 or later to run.
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-Prot-v1-15M commercially?
Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.
What dataset was used to pretrain the model?
The model was pretrained on 10 million protein strings taken from the UniProt 50 database.
What embedding dimensions does Mistral-Prot-v1-15M produce?
The model outputs hidden states with a dimension of 256 per sequence token, which can be aggregated into a 256-dimensional sequence-level representation using operations such as max pooling.
How does this model differ from Mixtral-8x7B-v0.1?
It retains core architectural elements such as the mixture-of-experts design, grouped-query attention, and sliding-window attention, but simplifies them for proteins by reducing the number of layers and lowering the hidden size.
What software dependencies are required?
The model requires PyTorch and Hugging Face Transformers version 4.34.0 or newer, loaded with remote code trust enabled.
Written from Mistral-Prot-v1-15M'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.
