AI Potluck
Back to Gap Map Model components / Embeddings & retrieval models

E5

Microsoft
open weights / Overall score: 3.6

E5 embeds queries and passages for retrieval, trained by contrastive pre-training on weakly supervised text pairs and then on labelled retrieval data. The multilingual checkpoints initialize from XLM-RoBERTa and cover 100 languages at a 512-token limit, while e5-mistral-7b-instruct is a decoder-based, instruction-conditioned variant with a longer context. Every input carries an explicit "query:" or "passage:" prefix. A Microsoft Research team publishes the weights under the intfloat account.

The declared repository is the microsoft/unilm monorepo, whose e5 subtree carries the project; it holds evaluation scripts rather than a training pipeline. Verified 2026-09-11 via the Hugging Face model cards, the Hub API and that subtree README.

Openness

3 high confidence
3.0
weights
open(MIT ungated safetensors and PyTorch checkpoints across the English, multilingual and Mistral-based tiers)
data
documented-not-released(both training stages are itemized dataset by dataset with pair counts, but the CCPairs filtering that produced the mixture does not ship)
code
partial(the unilm/e5 subtree publishes MTEB and BEIR evaluation scripts and the cards give inference code
license
MIT(OSI)

An MIT release with an unusually well-documented corpus and no way to rebuild it. The card names every weak-supervision source with its pair count, which is more than most of this category offers, but the filtering pipeline is described only in the paper and the public repository stops at evaluation.

Adoption

5 high confidence
5.0

12,369,093 downloads in the trailing 30 days for multilingual-e5-small and 7,002,947 for multilingual-e5-large. The Hugging Face universe sweep puts the 13 shipped E5 checkpoints in the intfloat account at 33,155,632 combined.

Capability

3 high confidence
3.0

A workhorse rather than a frontier model. The MTEB average is level with the current small encoders, but the multilingual tier stops at roughly 512 tokens and the family has shipped nothing since early 2024, which is what separates it from the long-context releases a rung up.

Verified 2026-09-11