1 int64 3 1.4k | 0 int64 0 0 | 31715818 int64 33.4k 196M | 1.1 int64 1 1 |
|---|---|---|---|
3 | 0 | 14,717,500 | 1 |
5 | 0 | 13,734,012 | 1 |
13 | 0 | 1,606,628 | 1 |
36 | 0 | 5,152,028 | 1 |
36 | 0 | 11,705,328 | 1 |
42 | 0 | 18,174,210 | 1 |
48 | 0 | 13,734,012 | 1 |
49 | 0 | 5,953,485 | 1 |
50 | 0 | 12,580,014 | 1 |
51 | 0 | 45,638,119 | 1 |
53 | 0 | 45,638,119 | 1 |
54 | 0 | 49,556,906 | 1 |
56 | 0 | 4,709,641 | 1 |
57 | 0 | 4,709,641 | 1 |
70 | 0 | 5,956,380 | 1 |
70 | 0 | 4,414,547 | 1 |
72 | 0 | 6,076,903 | 1 |
75 | 0 | 4,387,784 | 1 |
94 | 0 | 1,215,116 | 1 |
99 | 0 | 18,810,195 | 1 |
100 | 0 | 4,381,486 | 1 |
113 | 0 | 6,157,837 | 1 |
115 | 0 | 33,872,649 | 1 |
118 | 0 | 6,372,244 | 1 |
124 | 0 | 4,883,040 | 1 |
127 | 0 | 21,598,000 | 1 |
128 | 0 | 8,290,953 | 1 |
129 | 0 | 27,768,226 | 1 |
130 | 0 | 27,768,226 | 1 |
132 | 0 | 7,975,937 | 1 |
133 | 0 | 38,485,364 | 1 |
133 | 0 | 6,969,753 | 1 |
133 | 0 | 17,934,082 | 1 |
133 | 0 | 16,280,642 | 1 |
133 | 0 | 12,640,810 | 1 |
137 | 0 | 26,016,929 | 1 |
141 | 0 | 6,955,746 | 1 |
141 | 0 | 14,437,255 | 1 |
142 | 0 | 10,582,939 | 1 |
143 | 0 | 10,582,939 | 1 |
146 | 0 | 10,582,939 | 1 |
148 | 0 | 1,084,345 | 1 |
163 | 0 | 18,872,233 | 1 |
171 | 0 | 12,670,680 | 1 |
179 | 0 | 16,322,674 | 1 |
179 | 0 | 27,123,743 | 1 |
179 | 0 | 23,557,241 | 1 |
179 | 0 | 17,450,673 | 1 |
180 | 0 | 16,966,326 | 1 |
183 | 0 | 12,827,098 | 1 |
185 | 0 | 18,340,282 | 1 |
198 | 0 | 2,177,022 | 1 |
208 | 0 | 13,519,661 | 1 |
212 | 0 | 22,038,539 | 1 |
213 | 0 | 13,625,993 | 1 |
216 | 0 | 21,366,394 | 1 |
217 | 0 | 21,366,394 | 1 |
218 | 0 | 21,366,394 | 1 |
219 | 0 | 21,366,394 | 1 |
230 | 0 | 3,067,015 | 1 |
232 | 0 | 10,536,636 | 1 |
233 | 0 | 4,388,470 | 1 |
236 | 0 | 4,388,470 | 1 |
237 | 0 | 4,942,718 | 1 |
238 | 0 | 2,251,426 | 1 |
239 | 0 | 14,079,881 | 1 |
248 | 0 | 1,568,684 | 1 |
249 | 0 | 1,568,684 | 1 |
261 | 0 | 1,122,279 | 1 |
261 | 0 | 10,697,096 | 1 |
268 | 0 | 970,012 | 1 |
269 | 0 | 970,012 | 1 |
274 | 0 | 11,614,737 | 1 |
275 | 0 | 4,961,038 | 1 |
275 | 0 | 14,241,418 | 1 |
275 | 0 | 14,819,804 | 1 |
279 | 0 | 14,376,683 | 1 |
294 | 0 | 10,874,408 | 1 |
295 | 0 | 20,310,709 | 1 |
298 | 0 | 39,381,118 | 1 |
300 | 0 | 3,553,087 | 1 |
303 | 0 | 4,388,470 | 1 |
312 | 0 | 6,173,523 | 1 |
314 | 0 | 4,347,374 | 1 |
324 | 0 | 2,014,909 | 1 |
327 | 0 | 17,997,584 | 1 |
338 | 0 | 23,349,986 | 1 |
343 | 0 | 7,873,737 | 1 |
343 | 0 | 5,884,524 | 1 |
350 | 0 | 16,927,286 | 1 |
354 | 0 | 8,774,475 | 1 |
362 | 0 | 38,587,347 | 1 |
380 | 0 | 19,005,293 | 1 |
384 | 0 | 13,770,184 | 1 |
385 | 0 | 9,955,779 | 1 |
385 | 0 | 9,767,444 | 1 |
386 | 0 | 16,495,649 | 1 |
388 | 0 | 1,148,122 | 1 |
399 | 0 | 791,050 | 1 |
410 | 0 | 14,924,526 | 1 |
scifact_mlateon
Multi-vector (late-interaction) embeddings of BEIR scifact (beir/scifact/test), encoded with
lightonai/mLateOn at revision edd378f99593c0ac8a15518b97ad89786b02685e.
Source data: ir_datasets beir/scifact/test (ir_datasets 0.6.3), which downloads scifact.zip (md5 5f7d1de60b170fc8027bb7898e2efca1). BEIR also publishes this corpus on the Hub as BeIR/scifact, 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.
Files
| file | dtype | shape | contents |
|---|---|---|---|
documents.npy |
float16 (<f2) |
[1,629,339, 128] |
every document vector, concatenated document by document (397.8 MiB) |
doclens.npy |
int32 | [5,183] |
vectors per document; cumsum gives offsets |
token_ids.npy |
uint32 | [1,629,339] |
tokenizer id of each documents.npy row, 1:1 |
doc_ids.npy |
<U9 |
[5,183] |
original document ids |
queries.npy |
float32 (<f4) |
[300, 53, 128] |
query vectors, zero-padded at the end (7.8 MiB) |
query_lens.npy |
int32 | [300] |
true vectors per query, before padding |
queries_ids.npy |
<U4 |
[300] |
original query ids |
qrels.test.tsv |
text | 339 rows | TREC qrels, qid \t 0 \t docid \t relevance, no header |
gt_top1000.tsv |
text | 300,000 rows | exact MaxSim top-1000, see below |
gt_top100.tsv |
text | 30,000 rows | first 100 ranks of gt_top1000.tsv, same format |
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.
Statistics
| documents | 5,183 |
| document vectors | 1,629,339 |
| vectors per document (min / median / mean / max) | 69 / 288 / 314.4 / 1902 |
| queries | 300 |
| vectors per query (min / median / mean / max) | 8 / 19 / 21.0 / 53 |
| queries with at least one qrel | 300 |
| qrels rows | 339 |
| embedding dimension | 128 |
Encoding
| 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,902 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 |
Ground truth: gt_top1000.tsv and gt_top100.tsv
Exact brute-force MaxSim top-1000 per query over the full corpus, from the vectors in this repo. gt_top100.tsv holds the first 100 ranks per query of the same lists (the original layout of these exports).
No header; tab-separated qidx docidx rank score:
qidx: 0-based row intoqueries_ids.npy/queries.npydocidx: 0-based position intodoc_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.
Retrieval quality
Sanity check of the vectors, not a leaderboard number: gt_top1000.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@1000 |
|---|---|---|---|---|---|
| 0.7605 | 0.7305 | 0.8367 | 0.9733 | 1.0000 | 0.7270 |
Loading
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, 53, 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()
Validation
Checks run by the exporter on the files exactly as written here:
- β file set β missing=[] extra=[]
- β documents.npy dtype/shape β <f2 (1629339, 128)
- β doclens.npy dtype/shape β <i4 (5183,)
- β doc_ids.npy is a string array β <U9 (5183,)
- β queries.npy dtype/shape β <f4 (300, 53, 128)
- β query_lens.npy dtype/shape β <i4 (300,)
- β queries_ids.npy is a string array β <U4 (300,)
- β sum(doclens) == n_tokens β 1629339 vs 1629339
- β no empty documents β min doclen 69
- β len(doc_ids) == len(doclens) == corpus size β 5183, 5183, 5183
- β doc_ids unique
- β query arrays aligned β 300, 300, 300
- β doc and query dim agree β 128 / 128
- β token_ids.npy dtype/shape β <u4 (1629339,)
- β document vectors unit-norm (100k sample) β norm range [0.9994, 1.0006]
- β query vectors unit-norm β norm range [1.000000, 1.000000]
- β all vectors finite
- β gt_top100.tsv has k rows per query β 30000 rows, k=100
- β gt_top100.tsv rows grouped by qidx with ranks 1..k and descending scores
- β gt_top100.tsv indices in range
- β gt_top1000.tsv has k rows per query β 300000 rows, k=1000
- β gt_top1000.tsv rows grouped by qidx with ranks 1..k and descending scores
- β gt_top1000.tsv indices in range
- β gt_top100.tsv is the first 100 ranks of gt_top1000.tsv
Provenance
| exported | 2026-09-25 |
| hardware | Tesla V100S-PCIE-32GB |
| revised | 2026-09-29: ground truth extended to top-1000 (gt_top1000.tsv, exact MaxSim over this repo's vectors on Tesla V100S-PCIE-32GB); gt_top100.tsv rewritten as its first 100 ranks: 28 rows differ from the previous file, all of them documents with identical scores listed in a different order |
- Downloads last month
- 40