🤖 text-ranking

mxbai-rerank-xsmall-v1

mixedbread-ai/mxbai-rerank-xsmall-v1

Get AI Model →
873.2K
Downloads
❤️
56
Likes
🏷️
14
Tags
📦
transformers
Library
Model Details
Full Model IDmixedbread-ai/mxbai-rerank-xsmall-v1
Pipeline / Tasktext-ranking
Librarytransformers
Downloads (all-time)873.2K
Likes56
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

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
Downloads873.2K
❤️ Community Likes56
🛠️ 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?