Skip to main content

When to use it

This is an open source, high performance, multilingual model. It works well on messy data and short queries expected to return medium-length passages of text (1-2 paragraphs).Reranking models are designed to provide superior accuracy over retriever models but are much slower, so this model shouldn’t be used with more than a few hundred documents. Due to the slowness of rerankers, we recommend using them in a two-stage retrieval system: use a retrieval to pull in a smaller number of documents from a larger database and then rerank the smaller number of documents using a reranker.

Inputs, limits, and pricing

Monthly and per-minute limits depend on your plan. See Rate limits.

Quickstart

Installation

Rerank

To use bge-reranker-v2-m3 for standalone reranking with the rerank endpoint, see Rerank results.

Parameters

Set rank_fields on the rerank request itself, and set the other parameters in its parameters object. This applies to both standalone reranking and integrated reranking.

Good to know

This model returns a relevance score for a query and passage. A sigmoid function can map the relevance score to a float value in the range [0,1].