Multi-vector (late-interaction) embeddings of BEIR msmarco (beir/msmarco/dev), encoded with
lightonai/mLateOn at revision edd378f99593c0ac8a15518b97ad89786b02685e.
Source data: ir_datasets beir/msmarco/dev (ir_datasets 0.6.3), which downloads msmarco.zip (md5 444067daf65d982533ea17ebd59501e4). BEIR also publishes this corpus on the Hub as BeIR/msmarco, whose card gives this dataset's license; the data here was loaded through ir_datasets, not from that repo. Document, query and qrel ids are the source's own ids,
unchanged.
Every document is one variable-length set of 128-d vectors; every query is one variable-length set of 128-d vectors. Documents and queries are stored at different precisions (fp16 and fp32 respectively), see Encoding.
| file | dtype | shape | contents |
|---|---|---|---|
documents.npy | float16 (<f2) | [703,829,936, 128] | every document vector, concatenated document by document (171,833.5 MiB) |
doclens.npy | int32 | [8,841,823] | vectors per document; cumsum gives offsets |
token_ids.npy | uint32 | [703,829,936] | tokenizer id of each documents.npy row, 1:1 |
doc_ids.npy | <U7 | [8,841,823] | original document ids |
queries.npy | float32 (<f4) | [6,980, 36, 128] | query vectors, zero-padded at the end (122.7 MiB) |
query_lens.npy | int32 | [6,980] | true vectors per query, before padding |
queries_ids.npy | <U7 | [6,980] | original query ids |
qrels.test.tsv | text | 7,437 rows | TREC qrels, qid \t 0 \t docid \t relevance, no header |
gt_top100.tsv | text | 698,000 rows | exact MaxSim top-100, see below |
All positional indices (the gt_top*.tsv files, and the row order of every .npy file) refer to the
order of doc_ids.npy and queries_ids.npy. Reordering either file invalidates the ground truth.
| documents | 8,841,823 |
| document vectors | 703,829,936 |
| vectors per document (min / median / mean / max) | 4 / 71 / 79.6 / 1101 |
| queries | 6,980 |
| vectors per query (min / median / mean / max) | 5 / 9 / 9.7 / 36 |
| queries with at least one qrel | 6,980 |
| qrels rows | 7,437 |
| embedding dimension | 128 |
| model | lightonai/mLateOn |
| model revision | edd378f99593c0ac8a15518b97ad89786b02685e |
| library | sentence-transformers 6.1.0 MultiVectorEncoder (transformers 5.17.0, torch 2.13.0+cu126) |
| document compute dtype | float16 (model weights loaded at this dtype for the document pass) |
| document storage dtype | fp16 |
| query compute dtype | float32 (model weights loaded at this dtype for the query pass) |
| query storage dtype | fp32 |
| normalization | L2, by the model's own Normalize module, before the storage cast |
| document truncation | 8,192 tokens (the checkpoint's document_length). No document reached it; longest here 1,101 vectors |
| query truncation | 8,192 tokens (the checkpoint's query_length) |
| document skiplist | none (empty skiplist_words): every document token is kept, so doclens is the real token count |
| document input | title + "\n\n" + text when the corpus has a title, else text; stripped |
| query input | query text, stripped of surrounding whitespace, formatted by the model's own query prompt/template |
| query vectors | every vector the model emits for the query is kept, including any query-expansion tokens its template adds; query_lens counts them all |
| document padding | none: documents.npy holds real vectors only, sum(doclens) == n_tokens |
| query padding | rows at or beyond query_lens[i] in queries.npy[i] are exactly zero |
| token_ids | tokenizer id of each kept document token (no skiplist, so every token), aligned 1:1 with documents.npy |
gt_top100.tsvExact brute-force MaxSim top-100 per query over the full corpus, from the vectors in this repo.
No header; tab-separated qidx docidx rank score:
qidx: 0-based row into queries_ids.npy / queries.npydocidx: 0-based position into doc_ids.npy / doclens.npyrank: 1-based, descending scorescore: sum over the query's query_lens[qidx] vectors of max over the document's vectors of the dot product, computed in fp32 with the fp16 document vectors upcast to fp32. Expansion vectors
are included in the sum. Printed to 6 decimals.Sanity check of the vectors, not a leaderboard number: gt_top100.tsv (exact MaxSim over the full
corpus) scored against qrels.test.tsv with ir_measures.
| nDCG@10 | MRR@10 | Success@5 | Recall@100 | Recall@1000 | MAP@100 |
|---|---|---|---|---|---|
| 0.4542 | 0.3882 | 0.5706 | 0.9174 | n/a (gt is top-100) | 0.3939 |
import numpy as np
documents = np.load("documents.npy", mmap_mode="r") # [n_tokens, 128] float16
doclens = np.load("doclens.npy") # [n_docs] int32
offsets = np.concatenate([[0], np.cumsum(doclens)])
doc_ids = np.load("doc_ids.npy") # [n_docs] str
def document(i):
return documents[offsets[i]:offsets[i + 1]] # [doclens[i], 128]
queries = np.load("queries.npy") # [n_queries, 36, 128] float32
query_lens = np.load("query_lens.npy") # [n_queries] int32
query_ids = np.load("queries_ids.npy") # [n_queries] str
def query(j):
return queries[j, :query_lens[j]] # [query_lens[j], 128]
def maxsim(q, d):
return (q @ d.astype(np.float32).T).max(axis=1).sum()
Checks run by the exporter on the files exactly as written here:
| exported | 2026-09-27 |
| hardware | Tesla V100S-PCIE-32GB |
| revised | 2026-09-29: card regenerated; every other file unchanged |
Multi-vector (late-interaction) embeddings of BEIR msmarco (beir/msmarco/dev), encoded with
lightonai/mLateOn at revision edd378f99593c0ac8a15518b97ad89786b02685e.
Source data: ir_datasets beir/msmarco/dev (ir_datasets 0.6.3), which downloads msmarco.zip (md5 444067daf65d982533ea17ebd59501e4). BEIR also publishes this corpus on the Hub as BeIR/msmarco, whose card gives this dataset's license; the data here was loaded through ir_datasets, not from that repo. Document, query and qrel ids are the source's own ids,
unchanged.
Every document is one variable-length set of 128-d vectors; every query is one variable-length set of 128-d vectors. Documents and queries are stored at different precisions (fp16 and fp32 respectively), see Encoding.
| file | dtype | shape | contents |
|---|---|---|---|
documents.npy | float16 (<f2) | [703,829,936, 128] | every document vector, concatenated document by document (171,833.5 MiB) |
doclens.npy | int32 | [8,841,823] | vectors per document; cumsum gives offsets |
token_ids.npy | uint32 | [703,829,936] | tokenizer id of each documents.npy row, 1:1 |
doc_ids.npy | <U7 | [8,841,823] | original document ids |
queries.npy | float32 (<f4) | [6,980, 36, 128] | query vectors, zero-padded at the end (122.7 MiB) |
query_lens.npy | int32 | [6,980] | true vectors per query, before padding |
queries_ids.npy | <U7 | [6,980] | original query ids |
qrels.test.tsv | text | 7,437 rows | TREC qrels, qid \t 0 \t docid \t relevance, no header |
gt_top100.tsv | text | 698,000 rows | exact MaxSim top-100, see below |
All positional indices (the gt_top*.tsv files, and the row order of every .npy file) refer to the
order of doc_ids.npy and queries_ids.npy. Reordering either file invalidates the ground truth.
| documents | 8,841,823 |
| document vectors | 703,829,936 |
| vectors per document (min / median / mean / max) | 4 / 71 / 79.6 / 1101 |
| queries | 6,980 |
| vectors per query (min / median / mean / max) | 5 / 9 / 9.7 / 36 |
| queries with at least one qrel | 6,980 |
| qrels rows | 7,437 |
| embedding dimension | 128 |
| model | lightonai/mLateOn |
| model revision | edd378f99593c0ac8a15518b97ad89786b02685e |
| library | sentence-transformers 6.1.0 MultiVectorEncoder (transformers 5.17.0, torch 2.13.0+cu126) |
| document compute dtype | float16 (model weights loaded at this dtype for the document pass) |
| document storage dtype | fp16 |
| query compute dtype | float32 (model weights loaded at this dtype for the query pass) |
| query storage dtype | fp32 |
| normalization | L2, by the model's own Normalize module, before the storage cast |
| document truncation | 8,192 tokens (the checkpoint's document_length). No document reached it; longest here 1,101 vectors |
| query truncation | 8,192 tokens (the checkpoint's query_length) |
| document skiplist | none (empty skiplist_words): every document token is kept, so doclens is the real token count |
| document input | title + "\n\n" + text when the corpus has a title, else text; stripped |
| query input | query text, stripped of surrounding whitespace, formatted by the model's own query prompt/template |
| query vectors | every vector the model emits for the query is kept, including any query-expansion tokens its template adds; query_lens counts them all |
| document padding | none: documents.npy holds real vectors only, sum(doclens) == n_tokens |
| query padding | rows at or beyond query_lens[i] in queries.npy[i] are exactly zero |
| token_ids | tokenizer id of each kept document token (no skiplist, so every token), aligned 1:1 with documents.npy |
gt_top100.tsvExact brute-force MaxSim top-100 per query over the full corpus, from the vectors in this repo.
No header; tab-separated qidx docidx rank score:
qidx: 0-based row into queries_ids.npy / queries.npydocidx: 0-based position into doc_ids.npy / doclens.npyrank: 1-based, descending scorescore: sum over the query's query_lens[qidx] vectors of max over the document's vectors of the dot product, computed in fp32 with the fp16 document vectors upcast to fp32. Expansion vectors
are included in the sum. Printed to 6 decimals.Sanity check of the vectors, not a leaderboard number: gt_top100.tsv (exact MaxSim over the full
corpus) scored against qrels.test.tsv with ir_measures.
| nDCG@10 | MRR@10 | Success@5 | Recall@100 | Recall@1000 | MAP@100 |
|---|---|---|---|---|---|
| 0.4542 | 0.3882 | 0.5706 | 0.9174 | n/a (gt is top-100) | 0.3939 |
import numpy as np
documents = np.load("documents.npy", mmap_mode="r") # [n_tokens, 128] float16
doclens = np.load("doclens.npy") # [n_docs] int32
offsets = np.concatenate([[0], np.cumsum(doclens)])
doc_ids = np.load("doc_ids.npy") # [n_docs] str
def document(i):
return documents[offsets[i]:offsets[i + 1]] # [doclens[i], 128]
queries = np.load("queries.npy") # [n_queries, 36, 128] float32
query_lens = np.load("query_lens.npy") # [n_queries] int32
query_ids = np.load("queries_ids.npy") # [n_queries] str
def query(j):
return queries[j, :query_lens[j]] # [query_lens[j], 128]
def maxsim(q, d):
return (q @ d.astype(np.float32).T).max(axis=1).sum()
Checks run by the exporter on the files exactly as written here:
| exported | 2026-09-27 |
| hardware | Tesla V100S-PCIE-32GB |
| revised | 2026-09-29: card regenerated; every other file unchanged |