Model Library/baai/bge-reranker-v2-m3
baai/bge-reranker-v2-m3

baai/bge-reranker-v2-m3

baai/bge-reranker-v2-m3
baai/bge-reranker-v2-m3 is a lightweight multi-language re-ranking model. Developed based on the bge-m3 model, it has strong multilingual capabilities, ease of deployment, and fast inference speed. This model takes query and document as input and directly outputs a similarity score, rather than an embedding vector. It is well-suited for multi-language scenarios, particularly excelling in Chinese and English processing.

Fonctionnalités

API sans serveur

Documentation

baai/bge-reranker-v2-m3 is available via Novita's serverless API, where you pay per token. There are several ways to call the API, including OpenAI-compatible endpoints with exceptional reasoning performance.

Sans serveur disponible

Exécutez des requêtes immédiatement, ne payez que pour l’utilisation

Entrée$0.01 / M Tokens
Sortie$0.01 / M Tokens

Utilisez les exemples de code suivants pour intégrer notre API :

1import requests
2
3url = "https://api.novita.ai/openai/v1/rerank"
4headers = {
5    "Authorization": "Bearer <Your API Key>",
6    "Content-Type": "application/json"
7}
8payload = {
9    "model": "baai/bge-reranker-v2-m3",
10    "query": "What is the capital of France?",
11    "documents": [
12        "Paris is the capital of France.",
13        "Berlin is the capital of Germany."
14    ],
15    "top_n": 2
16}
17
18response = requests.post(url, headers=headers, json=payload)
19print(response.json())

Infos

Fournisseur
BAAI
Quantification
-

Fonctionnalités prises en charge

Longueur du contexte
8K
Sortie maximale
8K
Serverless
Pris en charge
Capacités d’entrée
text
Capacités de sortie
text

Tout ce dont vous avez besoin pour créer une IA de production.

Plus de 200 modèles, des GPUs à la demande et des environnements d’exécution d’agents sécurisés — unifiés sous une seule API. Gratuit pour commencer, évolutif à mesure que vous grandissez.