lightonai / DenseOn

huggingface.co
Total runs: 8.8K
24-hour runs: 0
7-day runs: 402
30-day runs: 1.4K
Model's Last Updated: July 06 2026
sentence-similarity

Introduction of DenseOn

Model Details of DenseOn

DenseOn

State-of-the-Art Dense Retrieval Model by LightOn

DenseOn | LateOn | PyLate | FastPLAID

🎯 TL;DR : A 149M-parameter dense (single-vector) retrieval model achieving 56.20 nDCG@10 on BEIR , the first sub-150M dense model to break the 56 mark, topping all base-size dense models and outperforming several models 4× larger .

About the LateOn / DenseOn Family

State-of-the-art retrieval is increasingly dominated by closed models, either hidden behind APIs or trained on undisclosed data. This blocks reproducibility, prevents study of possible data leakage, and gatekeeps progress to a handful of private labs. We thus decided to gather and curate a large amount of data and explore various mixtures. We release all the data used in our explorations:

Based on our findings, we trained LateOn (multi-vector/ColBERT) and DenseOn (single vector/dense) models on a proprietary Apache 2.0-compatible training dataset and release those models as well. Both are built on the ModernBERT backbone at 149M parameters, a size we believe sits at the sweet spot: large enough to handle real-world queries and documents, small enough to serve at high throughput in latency-sensitive production systems. For more information, please read our blogpost .

DenseOn

DenseOn is a dense (single-vector) retrieval model built on ModernBERT (149M parameters), trained by LightOn . It encodes queries and documents independently using cosine similarity with query: / document: prefixes and CLS pooling.

DenseOn achieves 56.75 average NDCG@10 on BEIR (14 datasets) and 57.71 on decontaminated BEIR (12 datasets), topping all base-size dense models and outperforming models up to 4x larger. Notably it:

  • Tops all base-size dense models on BEIR , ahead of GTE-ModernBERT (55.19) and on par with much larger Snowflake Arctic Embed L v2 (55.22, 568M) and Qwen3-Embedding-0.6B (55.52).
  • Holds up under decontamination : when training-overlap samples are stripped from the BEIR corpora, DenseOn improves to 57.71 nDCG@10 on the 12-dataset decontaminated split.

Alongside DenseOn, we also trained LateOn , a late-interaction variant trained using the same setup. It achieves stronger BEIR results shares the usual benefits of late interaction models (better generalization, long context capabilities, ...). For more information about late interaction models, you can check our previous work on the matter such as ColBERT-Zero and give Pylate a shot (the best entry point in the late interaction ecosystem developped at LightOn).

See our blog post for full results and analysis.

Results
BEIR (14 datasets, NDCG@10)
Model Average Size Emb dim ArguAna CQADupstackRetrieval ClimateFEVER DBPedia FEVER FiQA2018 HotpotQA MSMARCO NFCorpus NQ QuoraRetrieval SCIDOCS SciFact TRECCOVID Touche2020
modernbert-embed-base 52.89 149 768 48.96 42.08 35.67 41.50 87.35 40.59 67.11 41.47 33.40 62.15 88.85 18.59 69.63 84.15 31.91
bge-large-en-v1.5 54.34 335 1024 64.52 42.23 36.57 44.11 87.18 45.02 74.10 42.49 38.06 55.03 89.07 22.63 74.64 74.70 24.81
gte-modernbert-base 55.19 149 768 74.56 42.64 45.90 41.39 93.98 49.54 70.39 39.93 34.32 56.10 88.57 20.44 76.41 75.75 17.97
snowflake-arctic-embed-l-v2.0 55.22 568 1024 59.11 45.88 41.82 43.40 91.54 45.35 68.15 44.86 35.08 63.67 88.75 20.28 70.90 83.63 25.89
jina-embeddings-v5-text-nano 56.06 239 768 65.70 44.66 39.60 45.26 89.51 47.85 69.07 41.64 38.69 63.38 88.87 22.60 75.78 77.60 30.70
Qwen3-Embedding-0.6B 55.52 600 1024 70.97 46.03 42.11 39.48 88.15 46.61 65.74 37.99 36.71 53.46 87.78 24.41 69.72 90.52 33.18
pplx-embed-v1-0.6b 56.70 600 1024 60.45 45.96 39.82 44.30 90.66 52.05 74.41 43.86 35.80 62.04 88.96 22.84 74.78 85.63 28.98
DenseOn-unsupervised 49.05 149 768 54.94 46.28 18.20 37.39 70.68 52.34 59.77 29.30 37.92 50.62 88.98 23.05 76.35 68.12 21.87
DenseOn 56.20 149 768 54.65 46.89 37.49 44.65 90.69 53.86 74.51 43.58 39.03 59.25 89.31 22.35 75.95 82.33 28.43

DenseOn reaches 56.20 NDCG@10 on BEIR, making it the top base-size dense retriever and the first sub-150M model to clear the 56 bar. At 149M parameters it decisively beats GTE-ModernBERT (55.19) at the same size, and more tellingly outperforms snowflake-arctic-embed-l-v2.0 (55.22, 568M) and Qwen3-Embedding-0.6B (55.52, 595M) despite being roughly 4× smaller. DenseOn also stays within half a point of the strongest current-generation dense baselines, pplx-embed-v1-0.6B (56.70, 596M) and jina-embeddings-v5-text-nano (56.08, 239M), both substantially larger.

Decontaminated BEIR (12 datasets, NDCG@10)

Standard benchmarks risk overestimating model quality when training data overlaps with evaluation corpora. This is a non-negligible risk in our case, as our mixture explorations are mostly built on BEIR evaluation. To quantify this and ensure that our model has not memorized possible leakage, we built decontaminated versions of the BEIR datasets by removing samples found in both the mGTE training dataset and in our internal training datasets. Since many retrieval models draw from similar public sources (Wikipedia, MS MARCO, Common Crawl, academic corpora), we expect significant overlap across models and believe the decontaminated benchmarks provide a meaningful, if imperfect, stress test. The decontaminated datasets are publicly available on HuggingFace.

Despite being in the toughest position (as the decontamination is based on our data), LateOn and DenseOn stay consistent under decontamination. LateOn keeps its #1 position and DenseOn stays in the top four (only falling behind our other strong multi-vector model, ColBERT-Zero). Neither model flinches, which is direct evidence of generalization rather than overfitting.

More broadly, ColBERT models seems to generalize better under decontamination: all three ColBERT models hold or improve their ranking, and they take 2 of the top 3 decontaminated positions. Although DenseOn holds strong, some dense models are hit harder, for example GTE-ModernBERT , dropping from 8th to last, which is particularly interesting considering our base mixture is derived from theirs. This highlights the strength of our curation methodology. While other models such as Qwen3-Embedding-0.6B also drop some ranks, hinting at an overlap with the BEIR evaluation, it is worth noting that newer models, such as the new jina-embeddings-v5 and pplx-embed-v1-0.6b seems to exhibit stronger evidence of generalization rather than overfitting.

LightOn
Related Checkpoints
Model Stage Link
DenseOn (this card) Pre-training + fine-tuning lightonai/DenseOn
DenseOn-unsupervised Pre-training only lightonai/DenseOn-unsupervised
LateOn Multi-vector counterpart lightonai/LateOn
LateOn-unsupervised Multi-vector, pre-training only lightonai/LateOn-unsupervised
Model Details
Model Description
  • Model Type: Sentence Transformer
  • Base model: DenseOn-unsupervised (ModernBERT-base)
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 768 dimensions
  • Similarity Function: Cosine Similarity
  • Pooling: CLS token
  • Prompts: query: for queries, document: for documents
  • Language: English
  • License: Apache 2.0
Model Sources
Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, '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/DenseOn")

# Run inference
queries = [
    "Which planet is known as the Red Planet?",
]
documents = [
    "Venus is often called Earth's twin because of its similar size and proximity.",
    "Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    "Saturn, famous for its rings, is sometimes mistaken for 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)
# [1, 768] [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
Training Details
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
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 Demoura, Paulo 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 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. We are grateful to the teams behind Sentence Transformers and the BEIR benchmark, 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.

Runs of lightonai DenseOn on huggingface.co

8.8K
Total runs
0
24-hour runs
570
3-day runs
402
7-day runs
1.4K
30-day runs

More Information About DenseOn huggingface.co Model

More DenseOn license Visit here:

https://choosealicense.com/licenses/apache-2.0

DenseOn huggingface.co

DenseOn huggingface.co is an AI model on huggingface.co that provides DenseOn's model effect (), which can be used instantly with this lightonai DenseOn model. huggingface.co supports a free trial of the DenseOn model, and also provides paid use of the DenseOn. Support call DenseOn model through api, including Node.js, Python, http.

lightonai DenseOn online free

DenseOn huggingface.co is an online trial and call api platform, which integrates DenseOn's modeling effects, including api services, and provides a free online trial of DenseOn, you can try DenseOn online for free by clicking the link below.

lightonai DenseOn online free url in huggingface.co:

https://huggingface.co/lightonai/DenseOn

DenseOn install

DenseOn is an open source model from GitHub that offers a free installation service, and any user can find DenseOn on GitHub to install. At the same time, huggingface.co provides the effect of DenseOn install, users can directly use DenseOn installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

DenseOn install url in huggingface.co:

https://huggingface.co/lightonai/DenseOn

Url of DenseOn

Provider of DenseOn huggingface.co

lightonai
ORGANIZATIONS

Other API from lightonai

huggingface.co

Total runs: 9.8K
Run Growth: 9.2K
Growth Rate: 93.65%
Updated:April 21 2026
huggingface.co

Total runs: 3.0K
Run Growth: 786
Growth Rate: 26.44%
Updated:February 10 2025
huggingface.co

Total runs: 1.7K
Run Growth: -2.4K
Growth Rate: -137.62%
Updated:November 13 2024
huggingface.co

Total runs: 1.6K
Run Growth: -2.0K
Growth Rate: -128.74%
Updated:December 10 2024
huggingface.co

Total runs: 1.4K
Run Growth: -855
Growth Rate: -58.97%
Updated:May 19 2022
huggingface.co

Total runs: 851
Run Growth: 226
Growth Rate: 26.56%
Updated:February 12 2026
huggingface.co

Total runs: 637
Run Growth: 616
Growth Rate: 96.70%
Updated:January 06 2025
huggingface.co

Total runs: 27
Run Growth: -5
Growth Rate: -18.52%
Updated:November 07 2024
huggingface.co

Total runs: 10
Run Growth: -1
Growth Rate: -10.00%
Updated:February 18 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 11 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 23 2023