Dataset Viewer
Auto-converted to Parquet Duplicate
1
int64
1
50
0
int64
0
0
005b2j4b
stringlengths
8
8
2
int64
-1
2
1
0
00fmeepz
1
1
0
g7dhmyyo
2
1
0
0194oljo
1
1
0
021q9884
1
1
0
02f0opkr
1
1
0
047xpt2c
0
1
0
04ftw7k9
0
1
0
pl9ht0d0
0
1
0
05vx82oo
0
1
0
0604jed8
0
1
0
06o2tbon
0
1
0
06ya15z8
0
1
0
084o1dmp
0
1
0
08ds967z
1
1
0
08efpohc
0
1
0
0b4o0ccp
0
1
0
brqby02y
2
1
0
0chuwvg6
2
1
0
0cvoeiy0
0
1
0
0e1w86tg
1
1
0
qotm49rv
1
1
0
0hnh4n9e
1
1
0
0iq9s94n
1
1
0
0khg28ex
0
1
0
0l33i6s4
0
1
0
0lyxvex0
0
1
0
0m5mc320
0
1
0
ex7rta8f
2
1
0
0nh58odf
2
1
0
0oiq44gl
0
1
0
0paafp5j
0
1
0
0pbjttv4
0
1
0
0qaoam29
0
1
0
0qpfoh5t
0
1
0
0t2a5500
2
1
0
0ti403i4
0
1
0
0v5wo0ty
1
1
0
0xhho1sh
2
1
0
0xruezf2
1
1
0
0y34yxlb
2
1
0
105q161g
2
1
0
10ecm4wi
1
1
0
11edrkav
2
1
0
127c5bve
2
1
0
12dcftwt
2
1
0
13ir7swr
2
1
0
13jupb26
0
1
0
1585stal
0
1
0
cysldr06
0
1
0
16rgt4ca
0
1
0
18xs6375
0
1
0
1a8uevk8
0
1
0
1aal6njl
0
1
0
1abp6oom
2
1
0
pe8qxorf
0
1
0
1bapn9w0
0
1
0
1bpc8g6n
0
1
0
1bvsn9e8
2
1
0
1c47w4q5
1
1
0
1de98sxz
0
1
0
1dogron2
1
1
0
yggdch81
0
1
0
1esupl4q
0
1
0
1eytelxn
1
1
0
1g2mup0k
0
1
0
1hwcp09t
0
1
0
1i6n6tv6
0
1
0
6bv54unc
1
1
0
1ldynibm
0
1
0
1ls84u6w
0
1
0
1mchg5yg
0
1
0
1mjaycee
2
1
0
te1bf690
1
1
0
1p7fz9zr
1
1
0
1p941spn
0
1
0
1pnc889f
0
1
0
1qkwsh6a
2
1
0
1rhy8td0
0
1
0
1s25r3o0
0
1
0
1s2zsqoq
1
1
0
1s6dlcer
1
1
0
1spgrrmw
1
1
0
1sq2uvur
2
1
0
1ub01j2x
0
1
0
1x66nxgx
0
1
0
1xf2sxtv
1
1
0
1ybj2p1n
1
1
0
2054tkb7
2
1
0
x3sb1o4u
0
1
0
21fhsooy
0
1
0
jskzydnf
0
1
0
22fc1qly
2
1
0
22ioujwl
0
1
0
23yi8so0
2
1
0
24viekl7
1
1
0
dnla56uh
2
1
0
25va2cvt
2
1
0
76laky91
2
1
0
vembiw2k
2
1
0
296ilxyg
0
End of preview. Expand in Data Studio

trec-covid_lateon

Multi-vector (late-interaction) embeddings of BEIR trec-covid (beir/trec-covid), encoded with lightonai/LateOn at revision 62911e105059585d244384c7d17826e35f669c17.

Source data: ir_datasets beir/trec-covid (ir_datasets 0.6.3), which downloads trec-covid.zip (md5 ce62140cb23feb9becf6270d0d1fe6d1). BEIR also publishes this corpus on the Hub as BeIR/trec-covid, 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) [29,313,062, 128] every document vector, concatenated document by document (7,156.5 MiB)
doclens.npy int32 [171,332] vectors per document; cumsum gives offsets
token_ids.npy uint32 [29,313,062] tokenizer id of each documents.npy row, 1:1
doc_ids.npy <U8 [171,332] original document ids
queries.npy float32 (<f4) [50, 32, 128] query vectors, zero-padded at the end (0.8 MiB)
query_lens.npy int32 [50] true vectors per query, before padding
queries_ids.npy <U2 [50] original query ids
qrels.test.tsv text 66,336 rows TREC qrels, qid \t 0 \t docid \t relevance, no header
gt_top100.tsv text 5,000 rows exact MaxSim top-100, see below

All positional indices (gt_top100.tsv, and the row order of every .npy file) refer to the order of doc_ids.npy and queries_ids.npy. Reordering either file invalidates gt_top100.tsv.

Statistics

documents 171,332
document vectors 29,313,062
vectors per document (min / median / mean / max) 3 / 210 / 171.1 / 299
queries 50
vectors per query (min / median / max) 10 / 17 / 32
queries with at least one qrel 50
qrels rows 66,336
embedding dimension 128

Encoding

model lightonai/LateOn
model revision 62911e105059585d244384c7d17826e35f669c17
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 300 tokens (the checkpoint's document_length), before the skiplist; longest document here 299 vectors
query truncation 32 tokens (the checkpoint's query_length)
document skiplist 32 words removed: ['!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@', '[', '\', ']', '^', '_', '`', '{', '
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 (after the skiplist above), aligned 1:1 with documents.npy

Ground truth: gt_top100.tsv

Exact 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.npy
  • docidx: 0-based position into doc_ids.npy / doclens.npy
  • rank: 1-based, descending score
  • score: 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.

No query id appears as a document id, so there are no self-matches.

Retrieval quality

Sanity check of the vectors, not a leaderboard number: exact MaxSim over the full corpus scored against qrels.test.tsv with ir_measures.

nDCG@10 Recall@100 MRR@10 MAP
0.8390 0.1604 0.9750 0.1311

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, 32, 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 (29313062, 128)
  • βœ… doclens.npy dtype/shape β€” <i4 (171332,)
  • βœ… doc_ids.npy is a string array β€” <U8 (171332,)
  • βœ… queries.npy dtype/shape β€” <f4 (50, 32, 128)
  • βœ… query_lens.npy dtype/shape β€” <i4 (50,)
  • βœ… queries_ids.npy is a string array β€” <U2 (50,)
  • βœ… sum(doclens) == n_tokens β€” 29313062 vs 29313062
  • βœ… no empty documents β€” min doclen 3
  • βœ… len(doc_ids) == len(doclens) == corpus size β€” 171332, 171332, 171332
  • βœ… doc_ids unique
  • βœ… query arrays aligned β€” 50, 50, 50
  • βœ… doc and query dim agree β€” 128 / 128
  • βœ… token_ids.npy dtype/shape β€” <u4 (29313062,)
  • βœ… document vectors unit-norm (100k sample) β€” norm range [0.9993, 1.0007]
  • βœ… query vectors unit-norm β€” norm range [1.000000, 1.000000]
  • βœ… all vectors finite
  • βœ… gt_top100.tsv has k rows per query β€” 5000 rows, k=100
  • βœ… gt rows grouped by qidx with ranks 1..k and descending scores
  • βœ… gt indices in range

Provenance

exported 2026-09-25
hardware Tesla V100S-PCIE-32GB
Downloads last month
15