skip to content
gigarouter gigarouter
models / reranker · coming soon

MS Marco TinyBERT L2 v2

cross-encoder/ms-marco-TinyBERT-L2-v2

published Mar 2022 · updated Aug 2025

MS Marco TinyBERT L2 v2 is a cross-encoder rerank model trained on the MS MARCO Passage Ranking dataset for information retrieval passage reranking.

est. price
~$0.008
/ 1k docs · estimated, set at launch
API providers
0
downloads / mo
283.3K
license
apache-2.0

specs

TaskCross-Encoder Reranking
ArchitectureTinyBERT with 2 layers
Max Sequence Length512 tokens
Training DataMS MARCO Passage Ranking
NDCG@10 (TREC DL 19)69.84

about this model

cross-encoder/ms-marco-TinyBERT-L2-v2 is a cross-encoder reranking model optimized for passage ranking, trained on the MS MARCO Passage Ranking dataset. It takes a query and a passage as input and outputs a relevance score, making it suitable for retrieve-and-rerank pipelines where a fast first-stage retriever (e.g., ElasticSearch) returns candidate passages and this model reorders them by relevance.

Key Strengths

  • High throughput: processes approximately 9,000 documents per second on a V100 GPU, offering a strong speed-accuracy trade-off.
  • Competitive ranking quality on standard benchmarks.
  • Lightweight architecture (TinyBERT with 2 layers) designed for low-latency production use.

Performance

The table below reports NDCG@10 on the TREC Deep Learning 2019 task, MRR@10 on the MS Marco Dev set, and inference throughput (docs/sec on V100). The model is compared against several other cross-encoders in the same family.

Model-NameNDCG@10 (TREC DL 19)MRR@10 (MS Marco Dev)Docs / Sec
cross-encoder/ms-marco-TinyBERT-L2-v269.8432.569000
cross-encoder/ms-marco-MiniLM-L2-v271.0134.854100
cross-encoder/ms-marco-MiniLM-L4-v273.0437.702500
cross-encoder/ms-marco-MiniLM-L6-v274.3039.011800
cross-encoder/ms-marco-MiniLM-L12-v274.3139.02960
cross-encoder/ms-marco-TinyBERT-L267.4330.159000
cross-encoder/ms-marco-TinyBERT-L468.0934.502900
cross-encoder/ms-marco-TinyBERT-L669.5736.13680
cross-encoder/ms-marco-electra-base71.9936.41340
nboost/pt-tinybert-msmarco63.6328.802900
nboost/pt-bert-base-uncased-msmarco70.9434.75340
nboost/pt-bert-large-msmarco73.3636.48100
Capreolus/electra-base-msmarco71.2336.89340
amberoad/bert-multilingual-passage-reranking-msmarco68.4035.54330
sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco72.8237.88720

This model is hosted by gigarouter as a managed, OpenAI‑compatible API. Developers can call it directly without managing infrastructure or model weights.

not yet live

We're benchmarking and onboarding MS Marco TinyBERT L2 v2 as a hosted, OpenAI-compatible API. Sign in for free credit and be ready when it lands, or tell us you want it and we'll prioritize it.

related reranker models

compare all →