Mindket

bge-m3

Newversion 1 · updated

Overview

Turns text in more than 100 languages into vectors for search, from short sentences to documents of 8192 tokens. It supports dense, multi-vector and sparse retrieval in one model. By BAAI.

bge-m3 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python and pip
  • The sentence-transformers or FlagEmbedding library to run the model
  • A vector database if you want to store and search the vectors
Runs in
  • Python programs that use sentence-transformers or the FlagEmbedding project
  • Vector databases such as Milvus and Vespa, which the card says support its hybrid retrieval
  • Windows, macOS or Linux with Python, to download the files
Start with
pip install -U huggingface_hub
hf download BAAI/bge-m3

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

BGE-M3 is an embedding model from BAAI that converts text into vectors so you can search and compare passages. Its three traits are many functions, many languages and many input sizes.

It offers three retrieval modes from one model: dense, multi-vector and sparse. It supports over 100 languages, and the text you give it can be a brief sentence or a long document that runs to 8192 tokens.

Who it suits

Developers who build search, question answering or retrieval-augmented generation over text in many languages, and researchers who compare retrieval methods.

IndustryWho uses itHow they use itExample
SoftwareTeams building RAG systemsEmbed documents and queries for retrievalFind relevant passages across languages
Enterprise searchKnowledge base buildersMatch questions to long documentsSearch files of up to 8192 tokens
ResearchRetrieval researchersTest dense, sparse and multi-vector modesCompare hybrid retrieval against a single mode

Skip it if you need a model that writes text, since this one only produces vectors and token weights for matching.

Where to use it

  • Python programs that use sentence-transformers or the FlagEmbedding project
  • Vector databases such as Milvus and Vespa, which the card says support its hybrid retrieval
  • Windows, macOS or Linux with Python, to download the files
Use caseWhoWhat they get back
Semantic searchSearch developersDense vectors that match meaning across languages
Keyword-style matchingTeams using hybrid retrievalSparse token weights similar to BM25
Long document retrievalKnowledge base teamsEmbeddings for inputs of up to 8192 tokens

How to set it up

  • Python and pip
  • The sentence-transformers or FlagEmbedding library to run the model
  • A vector database if you want to store and search the vectors
  1. Install the Hugging Face tools.
  2. Download the model files.
  3. Follow the model card and the FlagEmbedding project for the code that creates embeddings.
pip install -U huggingface_hub
hf download BAAI/bge-m3

How to use it

Embed your documents and your queries with the model, then compare them. The card recommends a pipeline of hybrid retrieval followed by re-ranking.

ModeWhat it does
Dense retrievalCompares whole-text vectors for meaning
Multi-vector retrievalKeeps several vectors per text for finer matching
Sparse retrievalGives token weights, similar to BM25, at no extra cost when you compute dense embeddings
Re-rankingUses a reranker model after retrieval to filter the selected text

Example

You embed a set of documents in several languages, then embed a question and rank the documents by similarity. A re-ranker such as bge-reranker then filters the top results for better accuracy.

For newcomers and experts

If you are new to embeddings, think of this model as a way to turn each piece of text into a list of numbers where similar meanings sit close together. Start by embedding two sentences and comparing them.

If you know the field, one checkpoint covers dense, multi-vector and sparse retrieval, so you can mix embedding and lexical signals without a second model. The card recommends pairing hybrid retrieval with a cross-encoder re-ranker.

  1. Embed documents with BGE-M3
  2. Retrieve with dense and sparse signals
  3. Merge results in hybrid retrieval
  4. Re-rank with a cross-encoder

Good to know

  • Hugging Face lists 313 quantized and 597 fine-tuned versions made by other people
  • The card also lists related models, including bge-m3-unsupervised, bge-m3-retromae and the English-only bge-large-en-v1.5
Maximum input length in tokens
bge-m38192 tokens
bge-m3-unsupervised8192 tokens
bge-large-en-v1.5512 tokens
  • License: MIT
  • Cost to run: none named
  • Data it reaches: the text you embed, plus the files you download
  • Not for: generating text, since it produces vectors and token weights

README and files

README

bge-m3

Turns text in more than 100 languages into vectors for search, from short sentences to documents of 8192 tokens. It supports dense, multi-vector and sparse retrieval in one model. By BAAI.

Made by BAAI on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: BGE-M3 is an embedding model from BAAI that converts text into vectors so you can search and compare passages. Its three traits are many functions, many languages and many input sizes.

It offers three retrieval modes from one model: dense, multi-vector and sparse. It supports over 100 languages, and the text you give it can be a brief sentence or a long document that runs to 8192 tokens.

Who it suits: Developers who build search, question answering or retrieval-augmented generation over text in many languages, and researchers who compare retrieval methods.

Industry | Who uses it | How they use it | Example
Software | Teams building RAG systems | Embed documents and queries for retrieval | Find relevant passages across languages
Enterprise search | Knowledge base builders | Match questions to long documents | Search files of up to 8192 tokens
Research | Retrieval researchers | Test dense, sparse and multi-vector modes | Compare hybrid retrieval against a single mode

Skip it if you need a model that writes text, since this one only produces vectors and token weights for matching.

Where to use it:

  • Python programs that use sentence-transformers or the FlagEmbedding project
  • Vector databases such as Milvus and Vespa, which the card says support its hybrid retrieval
  • Windows, macOS or Linux with Python, to download the files
Use case | Who | What they get back
Semantic search | Search developers | Dense vectors that match meaning across languages
Keyword-style matching | Teams using hybrid retrieval | Sparse token weights similar to BM25
Long document retrieval | Knowledge base teams | Embeddings for inputs of up to 8192 tokens

How to set it up:

  • Python and pip
  • The sentence-transformers or FlagEmbedding library to run the model
  • A vector database if you want to store and search the vectors
  1. Install the Hugging Face tools.
  2. Download the model files.
  3. Follow the model card and the FlagEmbedding project for the code that creates embeddings.
pip install -U huggingface_hub
hf download BAAI/bge-m3

How to use it: Embed your documents and your queries with the model, then compare them. The card recommends a pipeline of hybrid retrieval followed by re-ranking.

Mode | What it does
Dense retrieval | Compares whole-text vectors for meaning
Multi-vector retrieval | Keeps several vectors per text for finer matching
Sparse retrieval | Gives token weights, similar to BM25, at no extra cost when you compute dense embeddings
Re-ranking | Uses a reranker model after retrieval to filter the selected text

Example: You embed a set of documents in several languages, then embed a question and rank the documents by similarity. A re-ranker such as bge-reranker then filters the top results for better accuracy.

For newcomers and experts: If you are new to embeddings, think of this model as a way to turn each piece of text into a list of numbers where similar meanings sit close together. Start by embedding two sentences and comparing them.

If you know the field, one checkpoint covers dense, multi-vector and sparse retrieval, so you can mix embedding and lexical signals without a second model. The card recommends pairing hybrid retrieval with a cross-encoder re-ranker.

Embed documents with BGE-M3
Retrieve with dense and sparse signals
Merge results in hybrid retrieval
Re-rank with a cross-encoder

Good to know:

  • Hugging Face lists 313 quantized and 597 fine-tuned versions made by other people
  • The card also lists related models, including bge-m3-unsupervised, bge-m3-retromae and the English-only bge-large-en-v1.5
Title: Maximum input length in tokens
bge-m3: 8192 tokens
bge-m3-unsupervised: 8192 tokens
bge-large-en-v1.5: 512 tokens
  • License: MIT
  • Cost to run: none named
  • Data it reaches: the text you embed, plus the files you download
  • Not for: generating text, since it produces vectors and token weights

On Hugging Face, 13 November 2026

  • Task: sentence similarity
  • Library: sentence-transformers
  • Downloads in the last 30 days: 29,282,167
  • Likes: 3,989
  • License: mit
  • Quantized versions: 314
  • Fine-tunes: 597
  • Tags: sentence-transformers, pytorch, onnx, xlm-roberta, feature-extraction, sentence-similarity, text-embeddings-inference

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download BAAI/bge-m3

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
bge-m3 This page29,282,1673,989—mit
multilingual-e5-largeShares xlm-roberta · sentence-similarity · text-embeddings-inference7,120,5551,284560Mmit
all-MiniLM-L6-v2Shares sentence-similarity · text-embeddings-inference · sentence-transformers174,740,1846,10422.7Mapache-2.0
bge-small-en-v1.5Shares sentence-similarity · text-embeddings-inference · sentence-transformers45,750,54867133.4Mmit
paraphrase-multilingual-MiniLM-L12-v2Shares sentence-similarity · text-embeddings-inference · sentence-transformers26,540,1251,505118Mapache-2.0
bge-base-en-v1.5Shares sentence-similarity · text-embeddings-inference · sentence-transformers8,508,165542109Mmit
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

monatisShow HN: 2.4x faster baai/bge-M3We published a a distilled version of baai/bge-m3 with 8 layers. It provides 2.4x higher throughput with Pearson Cosine = 0.9691 and Spearman Cosine = 0.965. It quickly became our default embedder model for all our projects.2 pointsTom AarsenHow much worse? BAAI/bge-m3 with flash attention: - STSB test Spearman: 0.8485 → 0.7239 - NanoBEIR mean nDCG@10: 0.6041 → 0.5414 With the fix, quality recovers exactly, & the packing speedup stays. 🧵2 likes · 1 replyliqilin1567My trick for getting consistent classification from LLMssentence embedding models like all-MiniLM-L6-v2 [1], bge-m3 [2] [1] https://huggingface.co/sentence-transformers/all-MiniLM-L6-v... [2] https://huggingface.co/BAAI/bge-m3 In my recent project I used openai's embedding model for that because of its convenient api and low cost.MTEB2/ Eight models have results so far, led by Snowflake/snowflake-arctic-embed-m-v2.0 at 62.92 nDCG@10. Widely used multilingual models such as BAAI/bge-m3 and Qwen/Qwen3-Embedding-8B have not been run on it yet. Dataset by Dalla Noce et al., added to MTEB by albertobarnabo.xfalcoxCohere Launches Embed 4No downloadable open weights ? Looks like I'll stay on [bge-m3](https://huggingface.co/BAAI/bge-m3)Stéphane Philippartpar ex le BGE-M3: www.ovhcloud.com/en/public-cl... URL: oai.endpoints.kepler.ai.cloud.ovh.net/v1/embeddings et model name : bge-m3 et zou ça fonctionnegeekodourA Replacement for BERTHi Jeremy, I am trying to navigate the space and trying to understand what fits where. Could you shed some lights on what parts of bge-m3 would modernbert overlap with or would this is comparing apples to oranges? https://huggingface.co/BAAI/bge-m3adirajaShow HN: NCompass Technologies – yet another AI Inference API, but hear us outHey, great that you mentioned this. We actually had BAAI/bge-m3 on our list of models to put up in the near future to see if people had use for it over an API. It's great to hear that this is something you're looking for. If you could let us know if there was a specific model you wanted to run, we…

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k