🤖 text-ranking

stsb-roberta-large

cross-encoder/stsb-roberta-large

Get AI Model →
410.8K
Downloads
❤️
14
Likes
🏷️
18
Tags
📦
sentence-transformers
Library
Model Details
Full Model IDcross-encoder/stsb-roberta-large
Pipeline / Tasktext-ranking
Librarysentence-transformers
Downloads (all-time)410.8K
Likes14
Last Modified4/15/2025
Author / Orgcross-encoder
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="cross-encoder/stsb-roberta-large")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
sentence-transformerspytorchjaxonnxsafetensorsopenvinorobertatext-classificationtransformerstext-rankingendataset:sentence-transformers/stsbbase_model:FacebookAI/roberta-largebase_model:quantized:FacebookAI/roberta-largelicense: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

86.4M❤️ 308
Get AI Model →
ms-marco-MiniLM-L4-v2

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

6.4M❤️ 28
Get AI Model →
Qwen3-Reranker-4B

Qwen/Qwen3-Reranker-4B

2.4M❤️ 153
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
Downloads410.8K
❤️ Community Likes14
🛠️ Requirements
  • Install: pip install sentence-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?