MODEL PROFILE

ms-marco-MiniLM-L12-v2

cross-encoder · ms-marco-MiniLM-L12-v2

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 SentenceTransformers installed. Then you can use the pre-trained models like this:

Text generationlicense:apache-2.0
Context windowNot disclosed
Input → OutputText → Text
Model weightsOpen weights
Profile updated2026/11/22 03:05:33
OVERVIEW

Model overview

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 SentenceTransformers installed. Then you can use the pre-trained models like this:

The summary below is compiled from sources by an AI model, not our own testing. Verify selection decisions against original sources and your workload.

Key features

  • Trained specifically for MS MARCO Passage Ranking, optimized for query-passage relevance scoring
  • Designed for cross-encoder re-ranking in information retrieval pipelines (e.g., after initial retrieval with ElasticSearch)
  • Compatible with SentenceTransformers library for straightforward integration and inference

Limitations & considerations

  • Not a bi-encoder: requires joint encoding of query and passage pairs, making it slower than bi-encoder models for large-scale candidate ranking
  • Domain-specific training on MS MARCO may limit generalization to non-web, non-factoid, or domain-specific retrieval tasks
  • No support for multilingual inputs — trained and evaluated exclusively on English data
PRICING & COST

Source prices & cost analysis

Prices vary by channel, region and configuration. Channel quotes are listed independently and are not treated as a single official provider price.

Source / channelInputOutputBilling unitCollected at
No verified prices yet. Check the source channel.

Estimate monthly base token costs

—

Estimates exclude cache discounts, tiered pricing, multimodal surcharges, web search, taxes and additional reasoning output.

INDEPENDENT BENCHMARKS

Public benchmarks & run configuration

暂无已采集的可核验公开评分。模型未上榜不代表能力较低。

View full indexed rankings →

Frequently asked questions

What is the intended use case for this model?

It is designed for cross-encoder re-ranking in information retrieval: scoring relevance between a given query and candidate passages (e.g., after an initial retrieval step).

Does this model require special preprocessing of input text?

Yes — inputs must be formatted as query-passage pairs (e.g., [query, passage] list), not standalone texts; SentenceTransformers handles tokenization and truncation automatically.

Is this model suitable for real-time, low-latency ranking?

No — as a cross-encoder, it processes each query-passage pair jointly, resulting in higher computational cost compared to bi-encoders; not ideal for large-scale or latency-sensitive deployment.

Do open weights permit free commercial use?

Not necessarily. Check the version license, commercial conditions and usage policies. Self-hosting incurs compute and maintenance costs.

Are these real-time billing prices?

These are timestamped source snapshots, not live billing prices. Check the channel for current versions, regions, discounts and billing methods.

Sources & traceability

许可证:apache-2.0。模型介绍与第三方评测均以原来源的具体版本和方法为准。