Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Scores how well a passage answers a query so you can reorder search results, across many languages. Takes a question and a document and returns one relevance score. For people building search and retrieval pipelines.
bge-reranker-v2-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.
pip install -U FlagEmbedding pip install -U huggingface_hub hf download BAAI/bge-reranker-v2-m3
bge-reranker-v2-m3 is a multilingual reranker from BAAI, built on the bge-m3 model. It does not turn texts into vectors. It reads a query and a passage together and returns a single score, where a higher number means a closer match. A sigmoid step can squeeze that score into a range from 0 to 1.
It suits developers who already fetch candidate passages for a query and want a smarter final ordering.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Search products | Search engineers | Reorder retrieved results by how well each one fits the query | Putting the best-matching article first |
| Question answering | ML engineers | Pick the passage that best answers a question | Choosing between candidate answers |
| Internal knowledge bases | Platform teams | Rank the documents an index returns | Sorting policy documents for one query |
| Multilingual sites | Content teams | Compare queries and passages across languages | Matching a question with text written in another language |
You can skip it if you need embeddings, since this model gives pair scores and no vectors.
| Use case | Who | What they get back |
|---|---|---|
| Rerank search hits | Search teams | A relevance score for every query and passage pair |
| Score one pair | Developers | A raw score, or a 0 to 1 value with normalizing turned on |
| Compare many pairs | Data teams | A list of scores for a batch of pairs |
You need Python and the FlagEmbedding package. The model files themselves are optional to fetch by hand.
pip install -U FlagEmbedding pip install -U huggingface_hub hf download BAAI/bge-reranker-v2-m3
Load the reranker, then pass it a query and a passage, or a list of such pairs. Turn on normalizing if you want a value between 0 and 1.
from FlagEmbedding import FlagReranker
reranker = FlagReranker('BAAI/bge-reranker-v2-m3', use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation
score = reranker.compute_score(['query', 'passage'])
print(score) # -5.65234375
# You can map the scores into 0-1 by set "normalize=True", which will apply sigmoid function to the score
score = reranker.compute_score(['query', 'passage'], normalize=True)
print(score) # 0.003497010252573502| Tool | What it does |
|---|---|
| FlagReranker | Loads the reranker model |
| compute_score | Scores one pair or a list of pairs |
| normalize=True | Maps each score into the range 0 to 1 |
| use_fp16=True | Runs faster, with a slight loss of quality |
You score the question "what is panda?" against the word hi and against a sentence about the giant panda. The card shows about -8.19 for hi and about 5.26 for the panda sentence, so the second one ranks higher.
If you are new to search, picture a search engine that returns ten pages. The reranker reads each page next to the question and gives it a score, and you sort by that score. A first small try is the two-line score example above.
For people who know the field, this is a cross-encoder with 568M parameters, so each candidate needs its own forward pass and cost grows with the candidate list. The family also has gemma-based and MiniCPM layerwise versions for better quality or for choosing how many layers to run.
Other models in the same family exist, and the card suggests this one for multilingual work and for light, fast inference.
Scores how well a passage answers a query so you can reorder search results, across many languages. Takes a question and a document and returns one relevance score. For people building search and retrieval pipelines.
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.
What it is: bge-reranker-v2-m3 is a multilingual reranker from BAAI, built on the bge-m3 model. It does not turn texts into vectors. It reads a query and a passage together and returns a single score, where a higher number means a closer match. A sigmoid step can squeeze that score into a range from 0 to 1.
Who it suits: It suits developers who already fetch candidate passages for a query and want a smarter final ordering.
Industry | Who uses it | How they use it | Example
Search products | Search engineers | Reorder retrieved results by how well each one fits the query | Putting the best-matching article first
Question answering | ML engineers | Pick the passage that best answers a question | Choosing between candidate answers
Internal knowledge bases | Platform teams | Rank the documents an index returns | Sorting policy documents for one query
Multilingual sites | Content teams | Compare queries and passages across languages | Matching a question with text written in another language
You can skip it if you need embeddings, since this model gives pair scores and no vectors.
Where to use it:
Use case | Who | What they get back
Rerank search hits | Search teams | A relevance score for every query and passage pair
Score one pair | Developers | A raw score, or a 0 to 1 value with normalizing turned on
Compare many pairs | Data teams | A list of scores for a batch of pairs
How to set it up: You need Python and the FlagEmbedding package. The model files themselves are optional to fetch by hand.
pip install -U FlagEmbedding
pip install -U huggingface_hub
hf download BAAI/bge-reranker-v2-m3
How to use it: Load the reranker, then pass it a query and a passage, or a list of such pairs. Turn on normalizing if you want a value between 0 and 1.
from FlagEmbedding import FlagReranker
reranker = FlagReranker('BAAI/bge-reranker-v2-m3', use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation
score = reranker.compute_score(['query', 'passage'])
print(score) # -5.65234375
# You can map the scores into 0-1 by set "normalize=True", which will apply sigmoid function to the score
score = reranker.compute_score(['query', 'passage'], normalize=True)
print(score) # 0.003497010252573502
Tool | What it does
FlagReranker | Loads the reranker model
compute_score | Scores one pair or a list of pairs
normalize=True | Maps each score into the range 0 to 1
use_fp16=True | Runs faster, with a slight loss of quality
Example: You score the question "what is panda?" against the word hi and against a sentence about the giant panda. The card shows about -8.19 for hi and about 5.26 for the panda sentence, so the second one ranks higher.
For newcomers and experts: If you are new to search, picture a search engine that returns ten pages. The reranker reads each page next to the question and gives it a score, and you sort by that score. A first small try is the two-line score example above.
For people who know the field, this is a cross-encoder with 568M parameters, so each candidate needs its own forward pass and cost grows with the candidate list. The family also has gemma-based and MiniCPM layerwise versions for better quality or for choosing how many layers to run.
Title: Weight size of bge-reranker-v2-m3
F32: 2.3 GB
4-bit estimate: 284 MB
Your search returns candidate passages
The reranker reads the query with each passage
It returns one relevance score per pair
You sort by score and keep the best
Good to know: Other models in the same family exist, and the card suggests this one for multilingual work and for light, fast inference.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download BAAI/bge-reranker-v2-m3
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| bge-reranker-v2-m3 This page | 14,685,230 | 1,301 | 568M | apache-2.0 | |
| multilingual-e5-largeShares xlm-roberta · text-embeddings-inference · sentence-transformers | 7,120,555 | 1,284 | 560M | mit | |
| bge-m3Shares xlm-roberta · text-embeddings-inference · sentence-transformers | 29,282,167 | 3,989 | — | mit | |
| paraphrase-multilingual-MiniLM-L12-v2Shares text-embeddings-inference · sentence-transformers · multilingual | 26,540,125 | 1,505 | 118M | apache-2.0 | |
| harrier-oss-v1-0.6bShares text-embeddings-inference · sentence-transformers · multilingual | 218,439 | 338 | 596M | mit | |
| voyage-4-nanoShares text-embeddings-inference · sentence-transformers · multilingual | 90,118 | 152 | 346M | apache-2.0 |
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.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
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…
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…
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.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…