mlboydaisuke / bge-reranker-v2-m3-ExecuTorch

huggingface.co
Total runs: 17
24-hour runs: 0
7-day runs: -11
30-day runs: -81
Model's Last Updated: September 04 2026
text-classification

Introduction of bge-reranker-v2-m3-ExecuTorch

Model Details of bge-reranker-v2-m3-ExecuTorch

bge-reranker-v2-m3 — ExecuTorch

A cross-encoder reranker: a query and one document in, one relevance score out. The second stage of on-device retrieval — an embedding model fetches candidates cheaply, this reads each candidate together with the query and scores it properly.

  • Source : BAAI/bge-reranker-v2-m3 — 568M parameters, 24 XLM-RoBERTa layers, hidden 1024, 250k vocabulary
  • License : Apache-2.0
  • Input : input_ids and attention_mask , both [1, 512] int64
  • Output : [1, 1] fp32 — the raw logit. sigmoid(x) maps it to 0..1 and does not change the ordering.
Variants
build file size (MB) worst score error vs eager Mac median (ms)*
fp32 rerank_bge_reranker_v2_m3_xnnpack_fp32.pte 2271.5 0.0000 logits 215.2
fp16 rerank_bge_reranker_v2_m3_xnnpack_fp16.pte 1136.3 0.0071 logits 550.3
Core ML (fp16, iOS) rerank_bge_reranker_v2_m3_coreml_all.pte 1137.2 0.0158 logits 64.1

*Mac arm64, single process, median of 10, one query-document pair at 512 tokens — a reference point for relative cost, not a device number. PyTorch eager fp32 on the same machine: 172.7 ms.

Correlation is not reported because it cannot be: the output is a single number, and the correlation of a one-element vector is undefined. The column above is the error in the units the model is used in — logits — over 6 real query-document pairs, and every build listed reproduces eager's ranking order exactly.

What it does, on the shipped fp32 build

Query: "How many people live in Berlin?"

rank score document
1 +7.049 Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 km².
2 +6.728 ベルリンの人口はおよそ350万人です。
3 -0.791 In 2019 the city recorded 3.7 million residents within its metropolitan area.
4 -6.602 The capital of France is Paris, a city of about 2.1 million people.
5 -7.570 Berlin is well known for its museums, its nightlife and its history.
6 -11.036 Water boils at 100 degrees Celsius at sea level.

The narrowest gap between adjacent ranks here is 0.3211 logits.

It ranks across languages

The candidate list above includes a Japanese passage that answers the English query. This model puts it second at +6.73; ms-marco-MiniLM-L6, the English-only reranker on this shelf, scores the same passage -10.96 and puts it fifth of 6. That is what the 250k-token vocabulary buys, and it is also why this file is 25 times larger.

Not shipped
  • int8 (dynamic) is not shipped : at 1363.3 MB it is larger than the fp16 build's 1136.3 MB, and its score error is 0.3883 logits. Dynamic int8 quantizes the linear weights and leaves the token embedding table in fp32, while fp16 halves that table too. The table here is 1024 MB of a 2272 MB model, and the arithmetic says int8 only comes out smaller when the table is under a third of the weights (757 MB) — measured on ten models on this shelf, the rule called all ten correctly.
Verification
python convert/export_rerank.py bge_reranker_v2_m3
python convert/check_rerank.py bge_reranker_v2_m3 fp32

The check has two halves. One is agreement with the model run in eager, in logits and in ranking order. The other is that the ranking is useful at all: the passage that answers the question has to outscore a passage about the same subject that does not — agreement alone would pass a build that ranked by document length in both arms.

(conversion scripts: executorch-models )

Runs of mlboydaisuke bge-reranker-v2-m3-ExecuTorch on huggingface.co

17
Total runs
0
24-hour runs
0
3-day runs
-11
7-day runs
-81
30-day runs

More Information About bge-reranker-v2-m3-ExecuTorch huggingface.co Model

More bge-reranker-v2-m3-ExecuTorch license Visit here:

https://choosealicense.com/licenses/apache-2.0

bge-reranker-v2-m3-ExecuTorch huggingface.co

bge-reranker-v2-m3-ExecuTorch huggingface.co is an AI model on huggingface.co that provides bge-reranker-v2-m3-ExecuTorch's model effect (), which can be used instantly with this mlboydaisuke bge-reranker-v2-m3-ExecuTorch model. huggingface.co supports a free trial of the bge-reranker-v2-m3-ExecuTorch model, and also provides paid use of the bge-reranker-v2-m3-ExecuTorch. Support call bge-reranker-v2-m3-ExecuTorch model through api, including Node.js, Python, http.

bge-reranker-v2-m3-ExecuTorch huggingface.co Url

https://huggingface.co/mlboydaisuke/bge-reranker-v2-m3-ExecuTorch

mlboydaisuke bge-reranker-v2-m3-ExecuTorch online free

bge-reranker-v2-m3-ExecuTorch huggingface.co is an online trial and call api platform, which integrates bge-reranker-v2-m3-ExecuTorch's modeling effects, including api services, and provides a free online trial of bge-reranker-v2-m3-ExecuTorch, you can try bge-reranker-v2-m3-ExecuTorch online for free by clicking the link below.

mlboydaisuke bge-reranker-v2-m3-ExecuTorch online free url in huggingface.co:

https://huggingface.co/mlboydaisuke/bge-reranker-v2-m3-ExecuTorch

bge-reranker-v2-m3-ExecuTorch install

bge-reranker-v2-m3-ExecuTorch is an open source model from GitHub that offers a free installation service, and any user can find bge-reranker-v2-m3-ExecuTorch on GitHub to install. At the same time, huggingface.co provides the effect of bge-reranker-v2-m3-ExecuTorch install, users can directly use bge-reranker-v2-m3-ExecuTorch installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bge-reranker-v2-m3-ExecuTorch install url in huggingface.co:

https://huggingface.co/mlboydaisuke/bge-reranker-v2-m3-ExecuTorch

Url of bge-reranker-v2-m3-ExecuTorch

bge-reranker-v2-m3-ExecuTorch huggingface.co Url

Provider of bge-reranker-v2-m3-ExecuTorch huggingface.co

mlboydaisuke
ORGANIZATIONS

Other API from mlboydaisuke