Model card
The bge-reranker-base is a cross-encoder model designed to refine the results of initial vector searches. Unlike bi-encoders used for retrieval, this model evaluates the specific relevance between a query and a document pair, significantly reducing false positives in RAG pipelines. It is particularly effective for developers building high-precision knowledge bases where the top-k results from a vector database need re-scoring to ensure the most contextually accurate information is passed to the LLM. Integration is straightforward via the Sentence-Transformers library or Hugging Face, fitting seamlessly into existing retrieval-augmented generation workflows to boost hit rates without requiring massive index rebuilds.
Model files and versions
Download this model
We recommend using the ModelScope CLI or SDK. Install ModelScope first, then choose a full snapshot, single file, SDK or Git LFS workflow.
BAAI/bge-reranker-baseInstall the CLI and SDK dependency before downloading.
pip install modelscopeDownload the complete weights, configuration and model card.
modelscope download --model BAAI/bge-reranker-baseREADME.md is used as an example; replace it with another repository file when needed.
modelscope download --model BAAI/bge-reranker-base README.md --local_dir ./dirUseful in Python projects and automation scripts.
from modelscope import snapshot_download
model_dir = snapshot_download('BAAI/bge-reranker-base')Make sure Git LFS is installed correctly.
git lfs install
git clone https://www.modelscope.cn/BAAI/bge-reranker-base.gitFetch the repository structure first, then pull large files when needed.
GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/BAAI/bge-reranker-base.gitHow to use
- 01Step 1
Read the model card and source information.
- 02Step 2
Start with a small, non-sensitive evaluation.
- 03Step 3
Review quality, licensing and usage limits.
- 04Step 4
Adopt it only after validation.
Discussions
Use this space to keep checking source information, usage experience and maintenance status.
Open source page