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.

機能

サーバーレス API

ドキュメント

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.

利用可能なサーバーレス

クエリをすぐに実行し、使用した分だけお支払い

入力$0.01 / M Tokens
出力$0.01 / M Tokens

以下のコード例を使用して、当社の 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())

情報

プロバイダー
BAAI
量子化
-

サポートされている機能

コンテキスト長
8K
最大出力
8K
Serverless
サポートされています
入力機能
text
出力機能
text

本番環境向けAIを構築するために必要なすべて。

200以上のモデル、オンデマンド GPUs、安全なエージェントランタイムを、1つの API に統合。無料で始められ、成長に合わせてスケールできます。