cross-encoder_ms-marco-MiniLM-L6-v2
cross-encoder · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
license: apache-2.0 datasets:
- sentence-transformers/msmarco language:
- en base_model:
- cross-encoder/ms-marco-MiniLM-L12-v2 pipeline_tag: text-ranking library_name: sentence-transformers tags:
- transformers
Cross-Encoder for MS Marco
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 with 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
Usage with SentenceTransformers
The usage is easy when you have SentenceTransformers installed. Then you can use the pre-trained models like this:
from sentence_transformers import CrossEncoder
model = CrossEncoder('cross-encoder/ms-marco-MiniLM-L6-v2')
scores = model.predict([
("How many people live in Berlin?", "Berlin had a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers."),
("How many people live in Berlin?", "Berlin is well known for its museums."),
])
print(scores)
# [ 8.607138 -4.320078]
Usage with Transformers
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model = AutoModelForSequenceClassification.from_pretrained('cross-encoder/ms-marco-MiniLM-L6-v2')
tokenizer = AutoTokenizer.from_pretrained('cross-encoder/ms-marco-MiniLM-L6-v2')
features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt")
model.eval()
with torch.no_grad():
scores = model(**features).logits
print(scores)
Performance
In the following table, we provide various pre-trained Cross-Encoders together with their performance on the TREC Deep Learning 2019 and the MS Marco Passage Reranking dataset.
| Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec |
|---|---|---|---|
| Version 2 models | |||
| cross-encoder/ms-marco-TinyBERT-L2-v2 | 69.84 | 32.56 | 9000 |
| cross-encoder/ms-marco-MiniLM-L2-v2 | 71.01 | 34.85 | 4100 |
| cross-encoder/ms-marco-MiniLM-L4-v2 | 73.04 | 37.70 | 2500 |
| cross-encoder/ms-marco-MiniLM-L6-v2 | 74.30 | 39.01 | 1800 |
| cross-encoder/ms-marco-MiniLM-L12-v2 | 74.31 | 39.02 | 960 |
| Version 1 models | |||
| cross-encoder/ms-marco-TinyBERT-L2 | 67.43 | 30.15 | 9000 |
| cross-encoder/ms-marco-TinyBERT-L4 | 68.09 | 34.50 | 2900 |
| cross-encoder/ms-marco-TinyBERT-L6 | 69.57 | 36.13 | 680 |
| cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 |
| Other models | |||
| nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 |
| nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 |
| nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 |
| Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 |
| amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 |
| sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 |
Note: Runtime was computed on a V100 GPU.
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:418752115d704bc04d546b0cf3bb52b4dc67b675&dn=cross-encoder_ms-marco-MiniLM-L6-v2Open magnet in torrent client · infohash 418752115d704bc04d546b0cf3bb52b4dc67b675
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 3.6 KB (3,673 B) | 4c0467b102d751d799638ad2bc0cdf6de56e9745 | 7c0ec39941d0d1d766ccde671f592971d82fe45b7eea550a80d1ea864ebc3baa |
| config.json | 794 B (794 B) | 88bc4f74b33a2073abc9a66cb532b889448ac3ed | 380e02c93f431831be65d99a4e7e5f67c133985bf2e77d9d4eba46847190bacc |
| model.safetensors | 86.7 MB (90,870,598 B) | 1cd5eb9dd65645d9fec00c55fc67861583ebe9c5 | 821d1aa69520101d6e0737f78a042ae25b19e5cb9160701909d10434f4aeb0ae |
| openvino/openvino_model.bin | 86.6 MB (90,858,656 B) | b8918ed8264027fe3e77481e4fcf7d21cfe61de6 | 8a9204bfa99fa8300f939862ae91279a587b4c16bd5a7a198db859164b299b9a |
| openvino/openvino_model.xml | 200.5 KB (205,291 B) | 38116f35071acb17e6565d44bfbe5c3b1e61b3a8 | a531551072ea8ffee6e8e452079f6fcb016ad68fbf216b6641a0a7b9adea16f4 |
| openvino/openvino_model_qint8_quantized.bin | 22.0 MB (23,087,684 B) | 5c7fafb69b2122d66eef116980c0b35bd8a6e680 | 02eaa804b1c63f7a0012b7830dea8578fb54478eefdc98e8cdb21f4e4c4e55dc |
| openvino/openvino_model_qint8_quantized.xml | 362.9 KB (371,611 B) | 9ff1f55602bdace4c89106234736defe5fdf6bfa | 6f00eabf8902777f51c7a35eaa517667cde255e955f64bffb3149a41a3b92d07 |
| pytorch_model.bin | 86.7 MB (90,903,017 B) | a34f8e6eb9747a06bfe266fe02bf436cce0beef6 | 3ae17b87eda3d184502a821fddff43d82feb7c206f665a851c491ec715b497ed |
| special_tokens_map.json | 132 B (132 B) | 7520992f25914d962f0e2fd0e0566fc33d19ec59 | 3c3507f36dff57bce437223db3b3081d1e2b52ec3e56ee55438193ecb2c94dd6 |
| tokenizer.json | 694.7 KB (711,396 B) | 688882a79f44442ddc1f60d70334a7ff5df0fb47 | d241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66 |
| tokenizer_config.json | 1.3 KB (1,330 B) | a2435fedfac32b9ad70f052d4f84007730cd3109 | a5c2e5a7b1a29a0702cd28c08a399b5ecc110c263009d17f7e3b415f25905fd8 |
| vocab.txt | 226.1 KB (231,508 B) | fb140275c155a9c7c5a3b3e0e77a9e839594a938 | 07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/cross-encoder_ms-marco-MiniLM-L6-v2/
- Slug
- cross-encoder_ms-marco-MiniLM-L6-v2
- Infohash
- 418752115d704bc04d546b0cf3bb52b4dc67b675
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: cross-encoder_ms-marco-MiniLM-L6-v2.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | cross-encoder/ms-marco-MiniLM-L6-v2 |
|---|---|
| Revision (pinned) | 233902d25c440f23af6f7d6e94d2946bac0bee0a |
| Fetched at | 2026-09-03T21:24:54Z |
| License at fetch | apache-2.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-03T21:24:59Z
apache-2.0283.5 MB (297,245,690 bytes)sentence-transformerspytorchjaxonnxsafetensorsopenvinoberttext-classificationtransformerstext-rankingtext-embeddings-inferenceendpoints_compatible1 language (en)