BGE Reranker v2 M3 (BAAI/bge-reranker-v2-m3)

BGE Reranker v2 M3 is a multilingual model that scores how relevant a passage is to a query. It is aimed at developers building search or retrieval-augmented generation (RAG) pipelines. Its main catch is that its model card gives no hardware needs, no parameter count and no benchmark numbers in its text. The model is built on bge-m3, takes a query and a passage together and returns one relevance score. The card shows Python usage through the FlagEmbedding package and Hugging Face transformers, and its metadata declares the Apache-2.0 licence.

Researched 12 Nov 2026

In short.

BGE Reranker v2 M3 is a multilingual model that scores how relevant a passage is to a query. It is aimed at developers building search or retrieval-augmented generation (RAG) pipelines. Its main catch is that its model card gives no hardware needs, no parameter count and no benchmark numbers in its text. According to the card, the model is initialised from bge-m3. It takes a question and a document as a pair and outputs a relevance score directly instead of an embedding, and that score can be mapped to 0 to 1 with a sigmoid. The card is tagged text-classification and declares Apache-2.0. It shows two ways to call the model (the FlagEmbedding package and Hugging Face transformers), lists four sibling rerankers and describes a fine-tuning data format. All behaviour described here is as stated in the model card at the pinned revision.

Researched and written by an AI model and checked by a second AI model. How it works

This report covers the model card (README) for BAAI/bge-reranker-v2-m3 at commit 953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e, including its metadata (with the Apache-2.0 declaration), model table, usage code, fine-tuning notes and citations. Linked pages (the FlagEmbedding GitHub project, the sibling model repositories, papers and datasets) and other folders are outside its scope. The card includes no standalone licence text or NOTICE file, and it presents its evaluation results only as images, so this report gives no benchmark numbers. All behaviour described is as stated in the card. The card gives no figures for speed, memory use or accuracy, so these remain unknown.

The overview

What this resource is

This is the model card (README) for BAAI/bge-reranker-v2-m3 on Hugging Face, at the pinned revision 953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e. The card's metadata gives the licence as apache-2.0, the pipeline tag as text-classification, the tags as transformers, sentence-transformers and text-embeddings-inference, and the language as multilingual. For more detail, the card points to the FlagEmbedding GitHub project [https://github.com/FlagOpen/FlagEmbedding/tree/master].

The model is one of a family of five rerankers. In the card's table, bge-reranker-v2-m3 uses bge-m3 as its base model, is labelled Multilingual and has no layerwise option. The table describes it as a lightweight reranker with strong multilingual capabilities that is easy to deploy and has fast inference.

Overall assessment

Based on its card, this is a documented model that can be used directly as the second stage of a search or RAG system: a first-stage retriever finds candidate passages, and this model re-orders them by relevance. The card gives code that looks ready to run, a clear explanation of the score and a plain statement of where the model sits among its siblings. It also recommends v2-m3 for three needs: multilingual use, Chinese or English use, and efficiency.

The main weaknesses are what the card leaves out. It gives no parameter count, memory or GPU requirement, speed figures, list of supported languages or maximum input length for the model itself. Its evaluation results (BEIR, CMTEB-retrieval, MIRACL and a llama-index test) appear only as embedded images, so the card's text contains no actual scores to quote. Treat the model as a promising candidate that still needs testing on your own data.

Who it is for

It suits developers and ML engineers who want to score how relevant passages are to a query. A typical use is getting a stronger relevance ordering of candidates from a retrieval step (vector search, keyword search or both) before passing passages to a language model or showing them to users. The card recommends v2-m3 for multilingual material and for Chinese or English material, so teams working across several languages are the clearest fit.

It is less suitable for anyone who needs text embeddings (the card says a reranker does not output an embedding), text generation, or a ready-made search product that needs no Python code. Beginners can copy the short FlagEmbedding example, which scores query and passage pairs written directly into the code; this needs a Python environment and the documented packages. A retriever that supplies candidate passages belongs to the search pipeline the card's evaluations suggest, but basic scoring does not need one.

What it can do

According to the card, you give the model a query and a passage and it returns a relevance score; a higher score means more relevant. Raw scores can fall outside 0 to 1 (the card's example comments show values such as -5.65 and 5.26). In FlagEmbedding, setting normalize=True applies a sigmoid that maps scores into 0 to 1. In the card's example comments, an irrelevant pair ('what is panda?' with 'hi') scores lower than a relevant pair (a sentence about the giant panda).

The model can score one pair or a list of pairs. The card positions v2-m3 as multilingual and also suitable for Chinese or English. Its model table describes v2-m3 as a lightweight reranker that is easy to deploy and has fast inference, and the card recommends it for efficiency. However, it gives no timing numbers, parameter counts or hardware figures, so how its speed and deployment needs compare with the sibling models is unknown. The card describes fine-tuning on your own data, but its commands are for the LLM-based siblings (see the setup section).

Using it

What you need to use it

According to the card, you need Python and either the FlagEmbedding package (pip install -U FlagEmbedding) or the Hugging Face transformers library with PyTorch. The examples load the tokenizer and model by repository name (BAAI/bge-reranker-v2-m3). The card does not say how or when the weights are downloaded or cached. The v2-m3 examples do not use trust_remote_code; that option appears only in the example for the separate minicpm-layerwise model.

The card does not state: which Python, PyTorch, transformers or FlagEmbedding versions work; the model file size; the parameter count; GPU or CPU requirements; memory use; which languages are covered; or the model's maximum input length. The transformers example truncates inputs at max_length=512, but the card does not say whether that is a model limit or only an example setting. Basic scoring needs only query and passage pairs plus the documented dependencies, as the card's examples show with pairs written by hand. In the search pipeline the card's evaluations suggest, a first-stage retriever supplies the candidate passages, but the card does not include one.

How it works

The card explains that, unlike an embedding model, a reranker takes the question and the document together as input and directly outputs a similarity score instead of an embedding. Each query and passage pair therefore gets its own score. Both documented interfaces accept a list of pairs: FlagEmbedding's compute_score takes a list of pairs, and the transformers example tokenises a list of pairs together and runs them through the model. Because the output is a score for a pair rather than an embedding, the card describes no way to store passage representations for later reuse. The card's own evaluations re-rank the top 100 results from a first-stage retriever (bge-en-v1.5 large, e5 mistral 7b instruct, bge-zh-v1.5 large or bge-m3, depending on the benchmark). The card does not document throughput, latency or compute cost for a given number of pairs.

In the transformers example, v2-m3 is loaded with AutoModelForSequenceClassification. The query and passage pairs are tokenised together with padding and truncation, and the score is read from the output logits. The LLM-based siblings work differently: they ask a language model whether the passage answers the query and read the score for the answer 'Yes'. That mechanism does not apply to v2-m3. Apart from naming bge-m3 as its base model, the card does not describe how v2-m3 itself was trained.

Setup

Option 1, FlagEmbedding: install with pip install -U FlagEmbedding, create FlagReranker('BAAI/bge-reranker-v2-m3', use_fp16=True) and call compute_score. The card says use_fp16=True speeds up computation with a slight performance degradation. Option 2, transformers: load the tokenizer and model with from_pretrained('BAAI/bge-reranker-v2-m3') and call model.eval(). Then tokenise the pairs with padding, truncation and max_length=512, and read the logits under torch.no_grad().

The card also covers fine-tuning. Training data is a JSON lines file in which each line has a query, a list of positive texts (pos), a list of negative texts (neg) and a prompt. If a query has no negatives, the card suggests sampling random ones from the corpus. A toy data file is linked on GitHub. The card's torchrun fine-tuning commands are for the LLM-based reranker (starting from google/gemma-2b) and the layerwise reranker (starting from openbmb/MiniCPM-2B-dpo-bf16), with LoRA settings and DeepSpeed. The card gives no fine-tuning command for v2-m3 itself, so you would need instructions specific to v2-m3 from elsewhere before attempting it.

Worked example from the card

The card's example scores two pairs that share the query 'what is panda?'. The first passage is 'hi'. The second is a sentence saying the giant panda is a bear species endemic to China. The card's printed comments show raw scores of [-8.1875, 5.26171875] and, with normalize=True, [0.00027803096387751553, 0.9948403768236574]. The relevant passage therefore ranks far above the irrelevant one.

In a real pipeline you might retrieve the top 100 candidates with your search system, build a list of [query, passage] pairs, score them all, sort by score and keep the top few. The figures above are the outputs printed in the card's code comments.

Assessment & evidence

Limitations and risks

Documentation gaps: the card presents its benchmark results only as images referenced by relative paths, so its text gives no accuracy numbers. There are no latency or memory figures, the supported languages are described only as multilingual, and the model's input length limit is not stated. The card also says nothing about known failure modes, bias, safety, or suitable and unsuitable uses.

Practical points: raw scores are not probabilities, and the card gives no recommended score threshold, so any cut-off must be calibrated on your own data. Each pair gets its own score, and the card gives no figures for how throughput, latency or compute cost change with longer candidate lists or longer passages. The card's tags mention sentence-transformers and text-embeddings-inference, but it shows no usage for either, so the card does not document support in those tools. The card does not address whether quality holds up in specialised domains such as legal or medical text.

Why it suits re-ranking, and where the gaps are

The model's behaviour follows from how it reads its input. It takes a query and a passage together and returns one relevance score for that pair, not an embedding of either text. Higher scores mean more relevant. The raw score is the model's output logit and is not limited to 0 to 1: the card's examples range from -8.1875 for an irrelevant pair to 5.26171875 for a relevant one. With normalize=True, FlagEmbedding applies a sigmoid that maps the score into 0 to 1. Because every score belongs to one specific pair, the model judges a set of candidates it is given rather than searching a collection by itself. It also produces no stored passage representation that could be reused for later queries.

That is why the model fits the second stage of a retrieval pipeline. The card's own evaluations use it this way: they re-rank the top 100 results from first-stage retrievers (bge-en-v1.5 large, e5 mistral 7b instruct, bge-zh-v1.5 large and bge-m3). A typical setup retrieves candidates with vector or keyword search, scores each query and passage pair with v2-m3, and keeps the highest-scoring passages. A retriever is not needed for basic scoring, since the card's examples score pairs written by hand. Among its siblings, the publisher recommends v2-m3 for multilingual use, Chinese or English use, and efficiency, and recommends the gemma and minicpm-layerwise models for better performance. These recommendations are the publisher's claims; the card's text gives no numbers to back them.

The documented limits decide how far the card can guide a deployment. Benchmark results appear only as images, so the text gives no accuracy figures. There is no parameter count, memory need, hardware requirement or latency figure. The languages are described only as multilingual, and the 512-token truncation in the transformers example is not stated to be a model limit. No score threshold is recommended, and the fine-tuning commands are written for the LLM-based siblings rather than v2-m3. As a result, accuracy on a given domain or language, speed for a given candidate list size, hardware fit and a sensible score cut-off are all unknown until measured on your own data and hardware.

Alternatives named in the card

The card lists four sibling rerankers. bge-reranker-base and bge-reranker-large (based on xlm-roberta-base and xlm-roberta-large) cover Chinese and English and are described as lightweight and fast. bge-reranker-v2-gemma (based on gemma-2b) is multilingual and is described as performing well in both English and multilingual use. bge-reranker-v2-minicpm-layerwise (based on MiniCPM-2B-dpo-bf16) is multilingual, lets you choose output layers 8 to 40 to speed up inference, and is described as strong in English and Chinese.

The card's own guidance is to choose the minicpm-layerwise or gemma models for better performance, and v2-m3 or the low layers of the layerwise model for efficiency. The card names each sibling's base model but gives no parameter counts, sizes, memory figures or timings, so how the siblings compare with v2-m3 in size and hardware performance is unknown. The card's text does not compare v2-m3 with rerankers from other publishers or with embedding-only retrieval that uses no reranker.

Evidence base

The source is the README of BAAI/bge-reranker-v2-m3 on Hugging Face at commit 953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e [https://huggingface.co/BAAI/bge-reranker-v2-m3/raw/953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e/README.md]. It contains metadata, the model table, usage code, fine-tuning instructions, evaluation image references and two BibTeX citations. The first citation is 'Making Large Language Models A Better Foundation For Dense Retrieval' (arXiv 2312.15503). The second is 'BGE M3-Embedding: Multi-Lingual, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation' (arXiv 2402.03216).

The card itself does not contain the model weights, configuration files, the full licence text, or evaluation numbers in text form (only image references). It also does not contain the content of the linked GitHub project or papers. The quality claims in the card are the publisher's own and are not backed by numbers in the card's text.

Access & freshness

Costs

The card states no price, fee or usage limit for the model, and its metadata declares an open licence, so the card names no licence fee. The real costs are the compute and engineering time needed to run the model, and these are unknown because the card gives no latency, throughput, memory or hardware figures. Each query and passage pair gets its own score and the documented interfaces accept lists of pairs, but the card does not say how compute cost changes with the number of candidates or the length of passages. The card does not cover hosting, GPU rental or third-party serving fees, so these remain unknown.

Licence and reuse rights

The card's metadata states license: apache-2.0. Apache-2.0 is a permissive licence that generally allows commercial use, modification and redistribution, with conditions such as keeping the licence and notice text. The card does not include the full licence text or a separate NOTICE file, so confirm the exact terms on the Hub repository before redistributing.

The card does not state the licence terms of the base model bge-m3. It also does not state any terms attached to the training datasets it names for the LLM-based siblings (bge-m3-data, Quora and FEVER). The siblings built on gemma-2b and MiniCPM-2B-dpo-bf16 may carry their own base-model terms, which are outside the selected scope. The card asks users who find it useful to cite two papers (see the evidence section).

Freshness

The card gives no release date or version history. The evaluation image file names contain 20240317, which suggests the figures were produced around March 2024, but that is only an inference from the file names. The citations are dated 2023 and 2024. The card shows no deprecation notice or pointer to a newer model, and its model table lists nothing newer than the v2 family. This revision of the card does not say whether newer revisions or successor models exist. This report describes only the pinned revision named above.

Suggested next steps

Before adopting the model: (1) read the full licence file and any notices on the Hub repository, and check the terms of the bge-m3 base model; (2) build a small test set of real queries with known good passages from your own domain and languages, and compare retrieval quality with and without the reranker; (3) measure latency and memory on your target hardware, with and without use_fp16, since the card gives no figures; (4) choose the candidate list size (the card's own evaluations use 100), and set a score threshold only after looking at your own score distribution; (5) pin a model revision, such as the commit named in this report, so the revision you use stays fixed. The card does not show that scores are numerically reproducible across environments or settings.

If quality is not good enough, the card recommends the gemma or minicpm-layerwise siblings for better performance. If you need domain tuning, note that the card's fine-tuning commands are written for those LLM-based siblings, not for v2-m3. The card has no fine-tuning instructions specific to v2-m3, so you would need to find them elsewhere before attempting it. The card documents a data format with query, pos, neg and prompt fields, but does not say whether that format applies to v2-m3.

Evidence for this report

selected-page.txtselected · checked 2026-11-12