🤖 text-ranking

mxbai-rerank-xsmall-v1

mixedbread-ai/mxbai-rerank-xsmall-v1

Get AI Model →
⬇
669.5K
Downloads
❤️
59
Likes
🏷️
14
Tags
📦
transformers
Library
Model Details
Full Model IDmixedbread-ai/mxbai-rerank-xsmall-v1
Pipeline / Tasktext-ranking
Librarytransformers
Downloads (all-time)669.5K
Likes59
Last Modified4/2/2025
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-xsmall-v1")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformersonnxsafetensorsdeberta-v2text-classificationrerankertransformers.jssentence-transformerstext-rankingenlicense:apache-2.0text-embeddings-inferenceendpoints_compatibleregion:us
More text-ranking Models
See all →
ms-marco-MiniLM-L6-v2

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

⬇ 71.4M❤️ 431
Get AI Model →
ms-marco-MiniLM-L4-v2

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

⬇ 5.2M❤️ 50
Get AI Model →
Qwen3-Reranker-4B

Qwen/Qwen3-Reranker-4B

⬇ 2.3M❤️ 185
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
⬇ Downloads669.5K
❤️ Community Likes59
🛠️ 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?