/ Модель

Характеристики

Контекст
8 191 токен
Лицензия
Apache 2.0
Архитектура
slideon · dense
Базовая модель
mLateOn
Библиотека
sentence-transformers
Опубликована
13 окт 2026

mSlideOn

ЭмбеддингиТекст → embedding9 профессий

Многоязычная разреженная модель LightOn для семантического поиска по текстам, длинным документам и коду.

659скачиваний за 30 дней18лайковвеса обновлены20 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки19

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

  • MLQARetrieval

    main_score

    Результат

    0,7498

    Общий результат 0,8967Общий результат 0,8945Общий результат 0,8745
    MTEB

    Публичная таблицаревизия совпадает

  • COIRCodeSearchNetRetrieval

    main_score

    Результат

    0,8323

    Общий результат 0,8652Общий результат 0,7527
    MTEB

    Публичная таблицаревизия совпадает

  • MultiLongDocRetrieval

    main_score

    Результат

    0,4087

    Общий результат 0,7353Общий результат 0,6531Общий результат 0,6349
    MTEB

    Публичная таблицаревизия совпадает

  • LEMBPasskeyRetrieval

    main_score

    Результат

    1

    MTEB

    Публичная таблицаревизия совпадает

  • SCIDOCS

    main_score

    Результат

    0,1855

    MTEB

    Публичная таблицаревизия совпадает

  • CodeEditSearchRetrieval

    main_score

    Результат

    0,8132

    Общий результат 0,7866
    MTEB

    Публичная таблицаревизия совпадает

  • CodeTransOceanContest

    main_score

    Результат

    0,8179

    MTEB

    Публичная таблицаревизия совпадает

  • WikipediaRetrievalMultilingual

    main_score

    Результат

    0,9117

    Общий результат 0,9353Общий результат 0,9261Общий результат 0,8849
    MTEB

    Публичная таблицаревизия совпадает

  • MIRACLRetrievalHardNegatives

    main_score

    Результат

    0,585

    Общий результат 0,5825Общий результат 0,4537
    MTEB

    Публичная таблицаревизия совпадает

  • CQADupstackProgrammersRetrieval

    main_score

    Результат

    0,4214

    MTEB

    Публичная таблицаревизия совпадает

  • CodeTransOceanDL

    main_score

    Результат

    0,3751

    MTEB

    Публичная таблицаревизия совпадает

  • BelebeleRetrieval

    Среднее по поднаборам

    Результат

    0,7063

    MTEB

    Расчёт каталогаревизия совпадает

  • CQADupstackWebmastersRetrieval

    main_score

    Результат

    0,4041

    MTEB

    Публичная таблицаревизия совпадает

  • StatcanDialogueDatasetRetrieval

    main_score

    Результат

    0,3673

    MTEB

    Публичная таблицаревизия совпадает

  • CosQA

    main_score

    Результат

    0,4096

    MTEB

    Публичная таблицаревизия совпадает

  • LegalBenchCorporateLobbying

    main_score

    Результат

    0,9354

    MTEB

    Публичная таблицаревизия совпадает

  • TRECCOVID

    main_score

    Результат

    0,7937

    MTEB

    Публичная таблицаревизия совпадает

  • ClimateFEVERHardNegatives

    main_score

    Результат

    0,4231

    MTEB

    Публичная таблицаревизия совпадает

  • CodeSearchNetCCRetrieval

    main_score

    Результат

    0,9382

    MTEB

    Публичная таблицаревизия совпадает

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

mSlideOn — многоязычная разреженная модель поиска LightOn, созданная на основе mLateOn с предварительным обучением через разреженный автоэнкодер и последующей настройкой на задачи поиска. Она предназначена для семантического поиска по текстам, длинным документам и коду, включая многоязычный поиск и извлечение информации из длинных документов.

Модель содержит 339 млн параметров и построена на базе mLateOn / mmBERT-base. Она кодирует запросы и документы в неотрицательные разреженные векторы размерности 32 768; оценка релевантности вычисляется скалярным произведением. Поддерживается до 8 192 токенов на вход, а разреженность векторов запросов и документов можно настраивать независимо. Указаны английский, французский, немецкий, итальянский, испанский, португальский, шведский, норвежский, арабский языки и код.

По опубликованным результатам модель показывает сильные результаты в многоязычном поиске, поиске по длинным документам и коду; при этом в английских тестах BEIR-15 немного уступает mDenseOn и mLateOn. Разреженные представления подходят для поиска с инвертированным индексом. Модель распространяется по лицензии Apache-2.0.

Сценарии применения

  • семантический поиск по многоязычным коллекциям документов
  • поиск релевантных фрагментов в длинных документах
  • поиск кода по текстовому запросу
  • извлечение документов для систем RAG
  • поиск по корпусам с использованием инвертированного индекса

Ограничения

На английском бенчмарке BEIR-15 модель немного уступает mDenseOn и mLateOn. Результаты бенчмарков не гарантируют такую же точность на конкретном корпусе или поисковой нагрузке.

Для каких профессий подходит9

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Website LinkedIn X

📚 Collection | 📝 Blogpost | 🛠️ Training and Evaluation

🎯 TL;DR: A 339M-parameter multilingual sparse retrieval model built from mLateOn through sparse autoencoder (SAE) pretraining and supervised retrieval fine-tuning. mSlideOn improves on mDenseOn by 4.76 points on MIRACL and 10.19 points on MLDR, and reaches 74.78 on MTEB Code, surpassing both mDenseOn and mLateOn. It brings multilingual, long-context, and code retrieval to sparse representations compatible with inverted-index search, with Matryoshka training for adjustable query and document sparsity.

About the SlideOn / mSlideOn Family

With DenseOn and LateOn, then mDenseOn and mLateOn, we explored dense and late-interaction retrieval using our open data recipe. SlideOn and mSlideOn reuse these models' retrieval knowledge to learn sparse representations through SAE pretraining followed by supervised fine-tuning.

SlideOn starts from DenseOn for English retrieval. mSlideOn starts from mLateOn for multilingual, long-context, and code retrieval. We release both the pretrained SAE initializations and the final retrieval models.

See our blog post for the full method, results, and ablations.

mSlideOn

mSlideOn encodes queries and documents into 32,768-dimensional nonnegative sparse vectors. Its sparse encoder lifts mLateOn's normalized 128-dimensional token representations to 768 dimensions and applies a residual MLP before selecting the top-32 latent activations and applying ReLU. Max pooling across tokens produces one vector per query or document, and retrieval uses the dot product between these vectors.

The dimensions are learned features, independent of the tokenizer vocabulary. Active latents can be stored in an inverted index, where query latents select posting lists and their weights contribute to document scores.

mSlideOn notably:

  • Reaches 56.00 on BEIR-15, the highest score among the multilingual sparse models in our comparison.
  • Reaches 63.21 on MIRACL target languages and 62.78 across all 18 languages, improving on mDenseOn by 4.76 points on the full benchmark.
  • Reaches 75.79 on MLDR target languages and 61.68 across all 13 languages, outperforming every dense baseline in our comparison.
  • Reaches 74.78 on MTEB Code, ahead of mDenseOn (71.53) and mLateOn (73.48).
  • Supports inputs of up to 8,192 tokens and independently adjustable query and document sparsity.

Results

Headline Results (nDCG@10)

Scores are average nDCG@10 on a 0–100 scale. Sparse models use dot-product scoring and exact search over each full evaluation corpus. All rows use unpruned query and document vectors. Dense and late-interaction comparisons follow our mDenseOn and mLateOn blog post.

MIRACL tgt covers Arabic, English, French, German, and Spanish; MLDR tgt covers Arabic, English, French, German, Italian, Portuguese, and Spanish. These are benchmark languages included in retrieval training. Full MIRACL covers 18 languages, full MLDR covers 13, and MTEB Code averages 12 retrieval tasks.

We evaluate MIRACL using the dev split of mteb/miracl-hard-negatives and MLDR using the test split of mteb/MultiLongDocRetrieval.

Retrieval FLOPS estimates the expected number of shared active features per query–document pair. It is a search-cost proxy, not measured latency or encoder FLOPs. Measurements use the fixed sample of 6,000 documents and 1,271 queries from SciFact, NFCorpus, and FiQA.

Key Findings

Multilingual and long-document retrieval. mSlideOn improves over mDenseOn on full MIRACL and MLDR by 4.76 and 10.19 points, respectively, while remaining behind mLateOn. The per-language results show gains beyond the languages included in retrieval training.

Code retrieval. mSlideOn outperforms every sparse and late-interaction baseline in this comparison on MTEB Code.

English retrieval. mSlideOn reaches 56.00 on BEIR-15, compared with 56.70 for mDenseOn and 57.56 for mLateOn. The gains on multilingual, long-document, and code tasks therefore come with a modest reduction in English benchmark performance.

Related Checkpoints

ModelDescription
mSlideOn (this model)Multilingual sparse retrieval model for natural language, long documents, and code
mSlideOn-SAEmLateOn-based SAE initialization before retrieval fine-tuning
SlideOnEnglish sparse retrieval model, after SAE pretraining and retrieval fine-tuning
SlideOn-SAEDenseOn-based SAE initialization before retrieval fine-tuning
mLateOnMultilingual late-interaction retriever used to initialize mSlideOn's backbone

The SAE checkpoints are starting points for training. Use SlideOn or mSlideOn for the retrieval results reported in the blog.

Training Data and Recipe

See our blog post for training data, SAE pretraining, and supervised retrieval fine-tuning.

Model Details

Model Description

PropertyValue
Model typeLearned sparse retriever; Sentence Transformers SparseEncoder
BackbonemLateOn / mmBERT-base
Total parameters339M
Maximum sequence length8,192 tokens, including special tokens and markers
Output dimensionality32,768 learned latent features
Token representation128 dimensions, L2-normalized before sparse encoding
Sparse encoderLift to 768 dimensions, residual MLP, and latent projection
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. No query: / document: text prefixes.
Retrieval training languagesEnglish, French, German, Italian, Spanish, Portuguese, Swedish, Norwegian, Arabic, plus code

Usage

Direct Usage (Sentence Transformers)

Install the supported library versions:

pip install -U "sentence-transformers>=6.1,<6.2" "transformers>=5.3,<6"

Load the model and encode multilingual queries and documents:

from sentence_transformers import SparseEncoder

model = SparseEncoder("lightonai/mSlideOn", trust_remote_code=True)

queries = [
    "Qu'est-ce qui provoque une éclipse solaire ?",
    "Was verursacht eine Sonnenfinsternis?",
]
documents = [
    "A solar eclipse occurs when the Moon passes between the Sun and Earth.",
    "Um eclipse solar ocorre quando a Lua passa entre o Sol e a Terra.",
    "Wind turbines convert the kinetic energy of wind into electricity.",
]

query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)

print(query_embeddings.shape, document_embeddings.shape)
# torch.Size([2, 32768]) torch.Size([3, 32768])

scores = model.similarity(query_embeddings, document_embeddings)
print(scores)

encode_query() inserts the [Q] query marker, and encode_document() inserts the [D] document marker, immediately after the beginning-of-sequence token. Pass raw text; the model adds these special tokens automatically and does not use query: or document: text prefixes. The returned embeddings are PyTorch sparse COO tensors. The model and custom inference code are included in this repository; loading does not require the training package or PyLate.

Choosing Query and Document Budgets

Set max_active_dims=N to keep the top-N latents with the highest weights in each pooled vector and set the rest to zero. You can choose a different N for queries and documents. This is separate from the per-token top-32 operation and does not change the vector dimensionality. For example, to use q-128 / d-1024:

query_embeddings = model.encode_query(queries, max_active_dims=128)
document_embeddings = model.encode_document(documents, max_active_dims=1024)

Omitting max_active_dims, or setting it to None, uses unpruned vectors, matching the headline results.

Pruning budgets must be positive integers; 0 is invalid.

Dimensions represent learned latents, so they do not map directly to tokenizer vocabulary entries. Inspect the sparse indices and weights; SparseEncoder.decode() cannot label them as vocabulary tokens. Retrieval uses raw dot products, so leave final vector normalization disabled.

Citation

If you find this work useful for your research, please consider citing us:

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

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · sentence-transformers

Нельзя запустить

Первый модуль sentence-transformers (slideon.SlideOn) рантайм не поддерживает.

Класс архитектуры
SlideOnModel
Ревизия весов
ef80160

0 моделей