Model reference · open weights

mdbr-leaf-ir

mdbr-leaf-ir is an open-weight embedding model from MongoDB, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

Embeddings MongoDB 1 variants 392k downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What mdbr-leaf-ir is

Content 1. Introduction 2. Technical Report 3. Highlights 4. Benchmarks 5. Quickstart 6. Citation Introduction mdbr-leaf-ir is a compact high-performance text embedding model specifically designed for information retrieval (IR) tasks, e.g., the retrieval stage of Retrieval-Augmented Generation (RAG) pipelines. To enable even greater efficiency, mdbr-leaf-ir supports flexible asymmetric architectures and is robust to vector quantization and MRL truncation. If you are looking to perform other tasks such as classification, clustering, semantic sentence similarity, summarization, please check out our mdbr-leaf-mt model. [!Note] Note: this model has been developed by the ML team of MongoDB Research. At the time of writing it is not used in any of MongoDB's commercial product or service offerings. Technical Report A technical report detailing our proposed LEAF training procedure is available here. Highlights State-of-the-Art Performance: mdbr-leaf-ir achieves state-of-the-art results for compact embedding models, ranking #1 on the public BEIR benchmark leaderboard for models with ≤100M parameters. Flexible Architecture Support: mdbr-leaf-ir supports asymmetric retrieval architectures enabling even greater retrieval results. See below for more information. MRL and Quantization Support: embedding vectors generated by mdbr-leaf-ir compress well when truncated (MRL) and can be stored using more efficient types like int8 and binary. See below for more information. Benchmark Comparison The table below shows the average BEIR benchmark scores (nDCG@10) for mdbr-leaf-ir compared to other retrieval models. mdbr-leaf-ir ranks #1 on the BEIR public leaderboard, and when run in asymmetric "(asym.)" mode as described here, the results improve even further. Quickstart Sentence Transformers Transformers.js If you haven't already, you can install the Transformers.js JavaScript library from NPM using: You can then use the model to compute embeddings like this: Transformers Usage See full example notebook here. Asymmetric Retrieval Setup [!Note] Note: a version of this asymmetric setup, conveniently packaged into a single model, is available here. mdbr-leaf-ir is aligned to snowflake-ar

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

MakerMongoDB
TypeEmbedding models
Parameters (lead)23M
Context512 tokens
Variants1
Runs withsentence-transformers
Based onmicrosoft/MiniLM-L6-v2
Released2025-08-08
Popularity392k downloads / month
Likes66
LicenceOpen weights

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together — the basis of search and RAG.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
mdbr-leaf-ir23MBF16~0.1 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys mdbr-leaf-ir for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (mdbr-leaf-ir below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/embeddings \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mdbr-leaf-ir","input":"text to embed"}'

Details

Languages, data & research

Languages

en

Tags

sentence-transformers onnx safetensors bert feature-extraction transformers sentence-similarity text-embeddings-inference information-retrieval knowledge-distillation transformers.js en endpoints_compatible deploy:azure

Papers

Licence

Open weights

Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want mdbr-leaf-ir on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More embedding models

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