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

text-ranking model by cross-encoder

Open original source ↗

From the publisher

Model card & documentation

Source preview

Read the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.

This model was trained on the MS Marco Passage Ranking task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See SBERT.net Retrieve & Re-rank for more details. The training code is available here: SBERT.net Training MS Marco The usage is easy when you have…

cross-encoder/ms-marco-MiniLM-L4-v2 on Hugging Face A short preview, not the full document.

Read the full model card ↗ · Preview checked 2026-10-28T22:30:51.160Z

Inside the original model card — Document outline
  1. Cross-Encoder for MS Marco
  2. Usage with SentenceTransformers
  3. Usage with Transformers
  4. Performance

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the model card

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

Model overview

cross-encoder/ms-marco-MiniLM-L4-v2 is a text-ranking model repository published by cross-encoder on Hugging Face. The source reports the sentence-transformers library.

This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.

Model facts

Task
text-ranking
Library
sentence-transformers
Recent downloads (30 days)
3,864,224
Cumulative likes
52
Hugging Face trending score
0
Reported safetensors parameters
19,165,185
Architecture
BertForSequenceClassification
License
apache-2.0
Access
Not gated by Hugging Face
Created
2022-03-02T23:29:05.000Z
Last modified
2025-08-29T14:36:22.000Z

Compatibility and lineage

Reported languages: en

Reported base models: cross-encoder/ms-marco-MiniLM-L12-v2

Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.

Use and evaluate

Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.

No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.

Model card and usage instructions

Model files and configuration

Community discussion

Source and freshness

Source: Hugging Face Hub. Metadata observed 2026-10-31T06:49:12.816Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related models

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

Contrastive-LM/CLM-v0.1-8B

cheonai/cheon-reranker-0.6b-v1

litoo13/leafmind-qwen3-reranker-0.6b

rajan2k/GemmaDecision-270M

t-firefly/qwen3-vl-reranker-2b-rknn3-rk1820