Model reference · open weights
mSlideOn-SAE is an open-weight embedding model from lightonai. mSlideOn-SAE (FP32) weighs 687 MB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the lightonai/mSlideOn-SAE model card, 2026-10-20
What it is
| Released by | lightonai |
|---|---|
| Released | 2026-10-13 |
| Parameters | 344M |
| VRAM | 687 MB for the weights |
What it runs on
| Card | Runs | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
SlideOn | mSlideOn | 📚 Collection
📝 Blogpost | 🛠️ Training and Evaluation
🎯 TL;DR: The pretrained sparse autoencoder used to initialize mSlideOn. It learns 32,768 latent features from frozen mLateOn token representations and provides a starting point for supervised multilingual and code retrieval fine-tuning. Use the final mSlideOn checkpoint for the retrieval results reported in our blog.
mSlideOn-SAE lifts L2-normalized, 128-dimensional mLateOn token representations to 768 dimensions and applies a residual MLP before projecting to 32,768 latent features, selecting the top-32 activations, and applying ReLU. Its linear decoder reconstructs the original 128-dimensional token representations during SAE pretraining. For retrieval, the included adapter max-pools token activations into one sparse vector per query or document.
| Property | Value |
|---|---|
| Backbone | mLateOn / mmBERT-base |
| Training stage | SAE pretraining, before supervised retrieval fine-tuning |
| Token representation | 128 dimensions, L2-normalized before sparse encoding |
| Sparse encoder | Lift to 768 dimensions, residual MLP, and latent projection |
| Latent dimensionality | 32,768 learned features |
| Token sparsity | Top-32 latent selection followed by ReLU |
| Sequence pooling | Maximum over token activations |
| Similarity function | Dot product |
| Prompts | [Q] marker for queries; [D] marker for documents, inserted automatically after the beginning-of-sequence token |
| Languages | Multilingual and code |
The checkpoint includes the mLateOn backbone and token projections, SAE encoder, and original SAE decoder in a single model.safetensors file. The model and tokenizer load directly from this repository.
See our blog post for training data, SAE pretraining, and supervised retrieval fine-tuning. Training code and the recorded training configuration are available in the code repository.
Install the supported library versions:
pip install -U "sentence-transformers>=6.1,=5.3,<6"
Load the SAE initialization and encode text into sparse vectors:
from sentence_transformers import SparseEncoder
model = SparseEncoder("lightonai/mSlideOn-SAE", trust_remote_code=True)
query_embeddings = model.encode_query([
"What is sparse retrieval?",
"Qu’est-ce que la recherche éparse ?",
])
document_embeddings = model.encode_document([
"Sparse retrieval uses inverted indexes to search sparse vectors.",
"La recherche éparse utilise des index inversés pour rechercher des vecteurs épars.",
])
print(query_embeddings.shape, document_embeddings.shape)
# torch.Size([2, 32768]) torch.Size([2, 32768])
encode_query() and encode_document() insert the [Q] and [D] markers automatically. Pass raw text to both methods.
The model loaded above can also be fine-tuned with Sentence Transformers' SparseEncoderTrainer. Our code repository provides the custom retrieval loss and training scripts used for our fine-tuning recipe.
| Model | Description |
|---|---|
| mSlideOn-SAE (this model) | mLateOn-based multilingual SAE initialization |
| mSlideOn | Multilingual sparse retriever after supervised fine-tuning |
| SlideOn-SAE | DenseOn-based English SAE initialization |
| SlideOn | English sparse retriever after supervised fine-tuning |
@misc{moura2026slideon,
author = {Moura Junior, Paulo Roberto and Sourty, Raphaël},
title = {{SlideOn} \& {mSlideOn}: Sparsified late-interaction and dense retrievers},
year = {2026},
howpublished = {Hugging Face Blog},
url = {https://huggingface.co/blog/lightonai/slideon-mslideon}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.