Model card
The bge-reranker-large is a cross-encoder model designed to refine the results of initial vector searches in RAG pipelines. Unlike bi-encoders that rely on cosine similarity between embeddings, this model performs deep interaction between the query and the candidate document to provide a precise relevance score. It is specifically engineered to mitigate the 'lost in the middle' phenomenon and reduce hallucinations by ensuring only the most contextually accurate chunks are passed to the LLM. For developers, it integrates as a second-stage filtering step after an initial retrieval from a vector database, significantly increasing precision at the cost of slight latency increases per document.
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-largeInstall the CLI and SDK dependency before downloading.
pip install modelscopeDownload the complete weights, configuration and model card.
modelscope download --model BAAI/bge-reranker-largeREADME.md is used as an example; replace it with another repository file when needed.
modelscope download --model BAAI/bge-reranker-large README.md --local_dir ./dirUseful in Python projects and automation scripts.
from modelscope import snapshot_download
model_dir = snapshot_download('BAAI/bge-reranker-large')Make sure Git LFS is installed correctly.
git lfs install
git clone https://www.modelscope.cn/BAAI/bge-reranker-large.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-large.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