Model reference · open weights

stsb-TinyBERT-L4

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

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

  • stsb-TinyBERT-L4 is a 14M parameter cross-encoder model designed for text-ranking tasks.
  • It predicts semantic similarity scores between pairs of English sentences, with a context length of 512 tokens.
  • The model is trained on the STS benchmark dataset and is released under the apache-2.0 licence.

Summary of the cross-encoder/stsb-TinyBERT-L4 model card, 2026-10-01

What it is

Released bycross-encoder
Released2022-03-02
Parameters14M
VRAM29 MB for the weights

What it runs on

Memory and cards for stsb-TinyBERT-L4 (FP32)

29 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-TinyBERT-L4

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-TinyBERT-L4')
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