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 →🚀 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.