🤖 text-ranking

mxbai-rerank-base-v2

mixedbread-ai/mxbai-rerank-base-v2

Get AI Model →
183.4K
Downloads
❤️
63
Likes
🏷️
120
Tags
📦
transformers
Library
Model Details
Full Model IDmixedbread-ai/mxbai-rerank-base-v2
Pipeline / Tasktext-ranking
Librarytransformers
Downloads (all-time)183.4K
Likes63
Last Modified4/8/2026
Author / Orgmixedbread-ai
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("text-ranking", model="mixedbread-ai/mxbai-rerank-base-v2")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerssafetensorsqwen2text-generationsentence-transformerstext-rankingafamarasazbebgbnbrbscacscydadeeleneoeseteufafffi
More text-ranking Models
See all →
ms-marco-MiniLM-L6-v2

cross-encoder/ms-marco-MiniLM-L6-v2

24.1M❤️ 220
Get AI Model →
ms-marco-MiniLM-L4-v2

cross-encoder/ms-marco-MiniLM-L4-v2

2.1M❤️ 14
Get AI Model →
ms-marco-MiniLM-L12-v2

cross-encoder/ms-marco-MiniLM-L12-v2

1.6M❤️ 104
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🤖 Task: text-ranking

This model is designed for the text-ranking task. Explore more models for this use case.

All text-ranking Models →
📊 Popularity
Downloads183.4K
❤️ Community Likes63
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?