Small multilingual E5 text embedding model: 12 layers, 384 dimensions, 100 languages
open sourceMITself-hostablefree
multilingual-e5-small is the small model of Microsoft's Multilingual E5 text embedding family (the "Multilingual E5 Text Embeddings" technical report, 2024): initialised from microsoft/Multilingual-MiniLM-L12-H384, it has 12 layers and 384-dimensional embeddings and supports the 100 languages of XLM-RoBERTa, with weaker results on low-resource languages. It was trained in two stages, weakly supervised contrastive pre-training on multilingual text pairs and then supervised fine-tuning. Every input starts with query: or passage: , and long texts are truncated at 512 tokens. It runs with Transformers and sentence-transformers, is built into fastembed-rs, and the weights are MIT-licensed.
Problems it solves
- one small embedding model for search across English, Spanish, Chinese and dozens of other languages
- match a query in one language to documents written in another
- semantic search for a multilingual product catalogue on a CPU
- find the same sentence in two languages to align translations
- cluster customer feedback written in many languages
- a multilingual embedding model with an MIT licence for a commercial product
- embed multilingual support tickets without calling a hosted API
- a compact multilingual alternative to English-only small embedding models
Features
- 384-dimensional embeddings
- 12 layers, about 118M parameters
- 100 languages (XLM-RoBERTa's)
- query: and passage: prefixes
- 512-token input
- MIT licence
- built into fastembed-rs
Limitations
Alternatives
The same job
These do what multilingual-e5-small does.
- bge-small-en-v1.5 BAAI's small English general embedding model, version 1.5
- snowflake-arctic-embed-s Snowflake's small Arctic Embed retrieval model: 33M parameters, 384 dimensions
- all-MiniLM-L6-v2 Sentence Transformers model that maps sentences and paragraphs to a 384-dimensional vector space
- bge-base-en-v1.5 BAAI's English general embedding model, version 1.5
- Cohere Embed Cohere's multimodal embedding models: text, images and PDF pages in one vector space, 128k context
- Qwen3-Embedding-8B Alibaba's 8B open embedding model, first on the MTEB multilingual leaderboard when released
