Skip to main content
BAAI logo

BGE-Reranker-V2-M3

ReadyRerankerby BAAI

Overview

About this model

bge-reranker-v2-m3,Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.

Specifications

Model details

Provider
BAAI
Modality
Reranker
Pricing
$0.03 / 1M

API

Call it in code

One OpenAI-compatible API. Swap the model id and you're done.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.ecohash.com/v1",
    api_key="YOUR_API_KEY",
)

ranked = client.rerank.create(
    model="bge-reranker-v2-m3",
    query="What is EcoHash?",
    documents=["...", "..."],
)

Start building

Grab an API key and call this model in minutes.