Model reference · open weights

stsb-roberta

Embeddings cross-encoder Reranker 1 build Open weights 160k dl/mo

stsb-roberta is an open-weight embedding model from cross-encoder. stsb-roberta-base (FP32) weighs 249 MB; the smallest configuration that runs it is RTX 3060 12 GB.

  • stsb-roberta is a 125M parameter cross-encoder model developed by cross-encoder for the text-ranking task.
  • It is designed to predict semantic similarity scores between pairs of English sentences, with a context length of 514 tokens.
  • The model is distributed under the apache-2.0 license.

Summary of the cross-encoder/stsb-roberta-base model card, 2026-10-01

What it is

Released bycross-encoder
Released2022-03-02
Parameters125M
VRAM249 MB for the weights

What it runs on

Memory and cards for stsb-roberta-base (FP32)

249 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What cross-encoder says about stsb-roberta

Read the model card

This model was trained using SentenceTransformers Cross-Encoder class.

Training Data

This model was trained on the STS benchmark dataset. The model will predict a score between 0 and 1 how for the semantic similarity of two sentences.

Usage and Performance

Pre-trained models can be used like this:

from sentence_transformers import CrossEncoder

model = CrossEncoder('cross-encoder/stsb-roberta-base')
scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])

The model will predict scores for the pairs ('Sentence 1', 'Sentence 2') and ('Sentence 3', 'Sentence 4').

You can use this model also without sentence_transformers and by just using Transformers AutoModel class

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms