Model reference · open weights

mSlideOn-SAE

Embeddings lightonai Embeddings 1 build Licence not stated 6 dl/mo

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.

  • mSlideOn-SAE is a pretrained sparse autoencoder by lightonai that initializes the mSlideOn model for multilingual and code retrieval.
  • It has 344M parameters and learns 32,768 latent features from frozen mLateOn token representations.
  • The model supports English, French, German, Italian, Spanish, Portuguese, Swedish, Norwegian and others.

Summary of the lightonai/mSlideOn-SAE model card, 2026-10-20

What it is

Released bylightonai
Released2026-10-13
Parameters344M
VRAM687 MB for the weights

What it runs on

Memory and cards for mSlideOn-SAE (FP32)

687 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What lightonai says about mSlideOn-SAE

Read 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.

Model Details

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.

PropertyValue
BackbonemLateOn / mmBERT-base
Training stageSAE pretraining, before supervised retrieval fine-tuning
Token representation128 dimensions, L2-normalized before sparse encoding
Sparse encoderLift to 768 dimensions, residual MLP, and latent projection
Latent dimensionality32,768 learned features
Token sparsityTop-32 latent selection followed by ReLU
Sequence poolingMaximum over token activations
Similarity functionDot product
Prompts[Q] marker for queries; [D] marker for documents, inserted automatically after the beginning-of-sequence token
LanguagesMultilingual 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.

Training Data and Recipe

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.

Usage

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.

Related Checkpoints

ModelDescription
mSlideOn-SAE (this model)mLateOn-based multilingual SAE initialization
mSlideOnMultilingual sparse retriever after supervised fine-tuning
SlideOn-SAEDenseOn-based English SAE initialization
SlideOnEnglish sparse retriever after supervised fine-tuning

Citation

@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.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms