/ Модель

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

Контекст
8 192 токена
Параметры
307 млн
Лицензия
Apache 2.0
Архитектура
modernbert · dense
Базовая модель
mDenseOn-unsupervised
Библиотека
sentence-transformers
Опубликована
22 июн 2026

mDenseOn

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

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

5 050скачиваний за 30 дней15лайковвеса обновлены30 июл 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

  • SciFact

    main_score

    Результат

    0,7488

    MTEB

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

  • CQADupstackAndroidRetrieval

    main_score

    Результат

    0,5321

    MTEB

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

  • CodeFeedbackMT

    main_score

    Результат

    0,9002

    MTEB

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

  • MultiLongDocRetrieval

    main_score

    Результат

    0,4697

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

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

  • CQADupstackMathematicaRetrieval

    main_score

    Результат

    0,3629

    MTEB

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

  • CodeSearchNetCCRetrieval

    main_score

    Результат

    0,906

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

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

  • CQADupstackTexRetrieval

    main_score

    Результат

    0,3481

    MTEB

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

  • CQADupstackWordpressRetrieval

    main_score

    Результат

    0,3991

    MTEB

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

  • CodeFeedbackST

    main_score

    Результат

    0,875

    MTEB

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

  • CodeSearchNetRetrieval

    main_score

    Результат

    0,7966

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

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

  • CQADupstackRetrieval

    main_score

    Результат

    0,457

    MTEB

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

  • CQADupstackWebmastersRetrieval

    main_score

    Результат

    0,4377

    MTEB

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

  • CosQA

    main_score

    Результат

    0,3949

    MTEB

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

  • MIRACLRetrievalHardNegatives

    main_score

    Результат

    0,5248

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

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

  • FiQA2018

    main_score

    Результат

    0,5191

    MTEB

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

  • CQADupstackEnglishRetrieval

    main_score

    Результат

    0,523

    MTEB

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

  • CQADupstackGamingRetrieval

    main_score

    Результат

    0,6287

    MTEB

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

  • COIRCodeSearchNetRetrieval

    main_score

    Результат

    0,8148

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

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

  • ArguAna

    main_score

    Результат

    0,5531

    MTEB

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

  • TRECCOVID

    main_score

    Результат

    0,8163

    MTEB

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

  • CodeTransOceanDL

    main_score

    Результат

    0,3523

    MTEB

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

  • AppsRetrieval

    main_score

    Результат

    0,3812

    MTEB

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

  • CodeEditSearchRetrieval

    main_score

    Результат

    0,7791

    MTEB

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

  • CQADupstackUnixRetrieval

    main_score

    Результат

    0,4627

    MTEB

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

  • NFCorpus

    main_score

    Результат

    0,3734

    MTEB

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

  • FEVER

    main_score

    Результат

    0,9146

    MTEB

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

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

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

mDenseOn — мультиязычная модель плотного поиска LightOn на архитектуре mmBERT-base, представленная как Sentence Transformer с 306,9 млн параметров. Она независимо кодирует запросы и документы в векторы размерностью 768 и сопоставляет их по косинусному сходству; для запросов и документов используются префиксы `query:` и `document:`, а в качестве pooling применяется токен CLS. Модель поддерживает контекст до 8 192 токенов и предназначена для семантического поиска по текстам на английском, французском, немецком, итальянском, испанском, португальском, шведском, норвежском и арабском языках, а также для поиска по коду.

Модель обучена LightOn на мультиязычных данных, полученных в том числе методом translate-train. В карточке заявлены результаты на мультиязычном поиске MIRACL, поиске по длинным документам MLDR, общем англоязычном поиске BEIR и поиске по коду MTEB Code. Одновекторное представление удобно для плотного поиска и ранжирования по сходству, однако качество заметно снижается на языках, не охваченных обучением для поиска; карточка рекомендует mLateOn, если важнее обобщение на такие языки и допустим многовекторный поиск. Лицензия — Apache 2.0.

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

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

Ограничения

Модель слабее обобщает на языки, не представленные среди целевых языков обучения для поиска; качество на полном MIRACL и MLDR снижается относительно результатов на целевых языках. Представление ограничено одним вектором на запрос или документ.

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

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

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

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

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

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

Открыть на Hugging Face

Website LinkedIn X

📚 Collection | 📝 Multilingual Blog | 📝 English Blog | 📝 Paper

🎯 TL;DR: A 307M-parameter multilingual dense (single-vector) retrieval model achieving state-of-the-art results across multilingual retrieval (MIRACL), long-document retrieval (MLDR), English general-domain retrieval (BEIR), and code retrieval (MTEB Code). Built by extending our validated open English data recipe to eight additional languages via translate-train, producing one of the largest open multilingual retrieval training sets to date (2.8B pairs).

About the mDenseOn / mLateOn Family

With DenseOn and LateOn, we demonstrated that an open, carefully curated data recipe can match closed-data retrieval models on English. mDenseOn and mLateOn extend this recipe to multilingual, long-context, and code retrieval.

Rather than independently collecting multilingual corpora from scratch (which would be expensive, uneven across languages, and hard to curate at the same quality), we applied the translate-train approach: machine-translating our validated English data into eight target languages (French, German, Italian, Spanish, Portuguese, Swedish, Norwegian, and Arabic) and adding cross-lingual pairs for cross-lingual alignment.

For more information, please read our multilingual models blog post, our English models blog post and our paper.

mDenseOn

mDenseOn is a multilingual dense (single-vector) retrieval model built on mmBERT-base (307M parameters), trained by LightOn. It encodes queries and documents independently using cosine similarity with query:/document: prefixes and [CLS] pooling, supporting context lengths of up to 8,192 tokens.

mDenseOn notably:

  • Achieves 56.70 NDCG@10 on BEIR, slightly surpassing the English-only DenseOn (56.20), confirming that multilingual capabilities do not come at the cost of English quality.
  • Reaches 59.61 on MIRACL target languages, competitive with similarly-sized models like EmbeddingGemma.
  • Scores 64.98 on MLDR target languages, competitive with most dense baselines
  • Achieves 71.53 on MTEB Code, the second-best sub-350M dense model, despite using only fine-tuning-stage code data and no code-specific pre-training.

Alongside mDenseOn, we also trained mLateOn, a late-interaction variant using the same setup. mLateOn achieves substantially stronger results, especially on multilingual and long-context tasks, and generalizes to languages outside of the training set, effectively circumventing the main limitation of translate-train for dense models. If your use case permits multi-vector retrieval, we recommend mLateOn.

See our multilingual blog post for full results and analysis.

Results

Headline Results (NDCG@10)

MIRACLtgt and MLDRtgt include only the languages overlapping with our target languages; MIRACL and MLDR include all benchmark languages.

ModelSizeBEIRMIRACLtgtMIRACLMLDRtgtMLDRCode
Our models
mLateOn307M57.5665.6167.0487.6977.9273.48
mDenseOn307M56.7059.6158.0264.9851.5971.53
Dense baselines
pplx-embed-v1-0.6b596M56.7063.1868.2057.0843.9875.18
jina-v5-text-small677M56.7061.0366.5653.0043.8373.01
jina-v5-text-nano239M56.0860.8665.8456.7147.2070.75
arctic-embed-l-v2568M55.5560.7866.5357.0148.0353.17
Qwen3-Embedding-0.6B596M55.3357.6460.6259.1150.0673.75
harrier-oss-v1-0.6b596M55.0457.4163.6853.8444.2370.97
harrier-oss-v1-270m268M50.8248.9557.1152.3142.6363.79
embeddinggemma-300m308M53.6958.7264.5849.1140.8968.81
gte-multilingual-base305M51.0857.3964.1466.4156.6557.46
voyage-4-nano340M49.9649.2958.6562.1051.9776.43
BGE-M3568M48.7862.2269.6261.1652.4751.49
granite-311m-r2312M49.2453.3859.7450.5341.8663.50
Late-interaction baselines
pplx-embed-v1-late-0.6b596M56.1163.6769.5568.6955.5163.29
LFM2.5-ColBERT-350M353M54.5057.4042.4578.3961.0551.62
jina-colbert-v2559M52.9662.1965.6513.9711.5449.88
GTE-ModernColBERT149M54.2343.9636.3567.6845.9554.37
ColBERT-Zero149M55.8243.8939.3671.3249.5053.59

mDenseOn at 307M parameters is competitive with or outperforms models up to twice its size on most target-language axes. Among dense models of comparable size, it outperforms EmbeddingGemma and granite-311m-r2 on every target-language axis, and gte-multilingual-base on all but MLDR.

Key Findings

English quality improved. mDenseOn reaches 56.70 on BEIR, slightly surpassing the English-only DenseOn (56.20), confirming that multilingual training need not degrade English performance.

Strong target-language performance. On the nine languages we translated into, mDenseOn is competitive with models trained on many more languages.

Dense models generalize less to unseen languages. On the full MIRACL and MLDR benchmarks (which include languages not seen during retrieval training), mDenseOn drops noticeably. This is expected for single-vector models, whose compressed representation transfers less readily to languages absent from fine-tuning. For broader language coverage without exhaustive translation, consider mLateOn, which generalizes substantially better to unseen languages.

Code retrieval from fine-tuning alone. mDenseOn scores 71.53 on MTEB Code using only fine-tuning-stage code data (from LateOn-Code), with no code-specific pre-training. Adding code data at pre-training time may yield further gains.

Related Checkpoints

ModelDescriptionLink
mDenseOn (this card)Multilingual dense retriever (recommended for multilingual dense)lightonai/mDenseOn
mDenseOn-unsupervisedMultilingual dense, pre-training onlylightonai/mDenseOn-unsupervised
mLateOnMultilingual late-interaction retriever (strongest multilingual)lightonai/mLateOn
mLateOn-unsupervisedMultilingual late-interaction, pre-training onlylightonai/mLateOn-unsupervised
DenseOnEnglish-only dense retrieverlightonai/DenseOn
DenseOn-unsupervisedEnglish-only dense, pre-training onlylightonai/DenseOn-unsupervised
LateOnEnglish-only late-interaction retrieverlightonai/LateOn
LateOn-unsupervisedEnglish-only late-interaction, pre-training onlylightonai/LateOn-unsupervised

Training Data

We release all datasets used to train our English and multilingual embedding models.

Pre-training Data

Together these form the 2.8B-pair ready-to-train pre-training mixture. The multilingual corpus spans the eight target languages and includes a 220M-pair cross-lingual split. The curated English corpus is built after filtering and deduplicating the raw English data. The complete 1.4B-pair annotated parent dataset is released as English pre-training unfiltered data.

Fine-tuning Data

A ready-to-train fine-tuning mixture of 16.3M samples, filtered with NV-Retriever methodology to remove false negatives: any mined candidate scoring above 95% of the positive's relevance is discarded, and the top 10 surviving hard negatives are kept per sample. The mixture is then annotated with the mxbai-rerank-large-v2 cross-encoder for distillation. We release one dataset per language, plus two code splits:

Multilingual data. MIRACL and MLDR hard-negatives were mined directly in the available datasets with snowflake-arctic-embed-l-v2.0 (2,048 mined negatives per sample) and the full unfiltered set is available at embeddings-fine-tuning-multilingual-unfiltered. All other splits follow the translate-train recipe: we apply the mentioned NV-Retriever filtering to the English fine-tuning unfiltered data, then machine-translate the filtered samples into the eight target languages, carrying the original relevance scores. The unfiltered English fine-tuning parent corpus contains 1.88M examples with 2,048 mined negatives, scored with GTE-ModernBERT.

Code data. The Code dataset is derived from LateOn-Code data, where 2,048 negatives are mined with GTE-ModernBERT. The Code Edit dataset had no existing training set, so we built one from CommitPackFT, decontaminated against the CodeEditSearch evaluation set by removing shared commit SHAs, exact normalized-text matches, and examples with ≥50% 13-gram containment overlap. Hard-negatives are likewise mined with GTE-ModernBERT, and its unfiltered mined set is released alongside the multilingual data in embeddings-fine-tuning-multilingual-unfiltered.

For more information, please read our multilingual blog post and our English blog post. Training scripts can be found here.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Base model: mmBERT-base
  • Maximum Sequence Length: 8,192 tokens
  • Output Dimensionality: 768 dimensions
  • Similarity Function: Cosine Similarity
  • Pooling: [CLS] token
  • Prompts: query: for queries, document: for documents
  • Languages: English, French, German, Italian, Spanish, Portuguese, Swedish, Norwegian, Arabic
  • License: Apache 2.0

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False, 'architecture': 'ModernBertModel'})
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the Hub
model = SentenceTransformer("lightonai/mDenseOn")

# Run inference with multilingual queries and documents
queries = [
    "Quelle planète est connue comme la planète rouge ?",
    "Which planet is known as the Red Planet?",
]
documents = [
    "Venus wird oft als Zwilling der Erde bezeichnet wegen ihrer ähnlichen Größe.",
    "Mars, connu pour son apparence rougeâtre, est souvent appelé la planète rouge.",
    "Marte, conocido por su apariencia rojiza, es a menudo llamado el Planeta Rojo.",
    "Mars, known for its reddish appearance, is often referred to as the Red Planet.",
]

query_embeddings = model.encode(queries, prompt_name="query")
document_embeddings = model.encode(documents, prompt_name="document")
print(query_embeddings.shape, document_embeddings.shape)
# [2, 768] [4, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)

Framework Versions

  • Python: 3.11.10
  • Sentence Transformers: 5.1.1
  • Transformers: 4.57.5
  • PyTorch: 2.9.0+cu128
  • Accelerate: 1.12.0
  • Datasets: 3.6.0
  • Tokenizers: 0.22.1

Citation

BibTeX

mDenseOn and mLateOn

@misc{sourty2026denseonlateonfullyopen,
  title         = {DenseOn with the LateOn: Fully Open Dense and Late-Interaction Models for Multilingual, Long-Context, and Code Search},
  author        = {Raphaël Sourty and Antoine Chaffin and Paulo Roberto Moura Junior and Amélie Chatelain},
  year          = {2026},
  eprint        = {2607.27178},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url           = {https://arxiv.org/abs/2607.27178},
}

DenseOn and LateOn

@misc{sourty2026denseonlateon,
  title={DenseOn with the LateOn: Open State-of-the-Art Single and Multi-Vector Models},
  author={Sourty, Raphael and Chaffin, Antoine and Weller, Orion and Moura Junior, Paulo Roberto and Chatelain, Amelie},
  year={2026},
  howpublished={\url{https://huggingface.co/blog/lightonai/denseon-lateon}},
}

PyLate

@inproceedings{DBLP:conf/cikm/ChaffinS25,
  author       = {Antoine Chaffin and
                  Rapha{\"{e}}l Sourty},
  editor       = {Meeyoung Cha and
                  Chanyoung Park and
                  Noseong Park and
                  Carl Yang and
                  Senjuti Basu Roy and
                  Jessie Li and
                  Jaap Kamps and
                  Kijung Shin and
                  Bryan Hooi and
                  Lifang He},
  title        = {PyLate: Flexible Training and Retrieval for Late Interaction Models},
  booktitle    = {Proceedings of the 34th {ACM} International Conference on Information
                  and Knowledge Management, {CIKM} 2025, Seoul, Republic of Korea, November
                  10-14, 2025},
  pages        = {6334--6339},
  publisher    = {{ACM}},
  year         = {2025},
  url          = {https://github.com/lightonai/pylate},
  doi          = {10.1145/3746252.3761608},
}

Sentence Transformers

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084"
}

Acknowledgements

We thank Eugene Yang for his feedback on adapting our English study to multilinguality through translate-train. We again thank Xin Zhang, Zach Nussbaum, Tom Aarsen, Bo Wang, Eugene Yang, Benjamin Clavié, Nandan Thakur, Oskar Hallström and Iacopo Poli for their valuable contributions and feedback on the original English study. We thank Orion Weller for building the FineWeb-derived Common Crawl split as well as for his feedback and help. We are grateful to the teams behind Sentence Transformers, BEIR, and MIRACL, and to the open-source retrieval community, in particular the authors of Nomic Embed.

This work was granted access to the HPC resources of IDRIS under GENCI allocations AS011016449, A0181016214, and A0171015706 (Jean Zay supercomputer). We also acknowledge the Barcelona Supercomputing Center (BSC-CNS) for providing access to MareNostrum 5 under EuroHPC AI Factory Fast Lane project EHPC-AIF-2025FL01-445. This project is also supported by the OpenEuroLLM project, co-funded by the Digital Europe Programme under GA no. 101195233.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

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

0 моделей