0 int64 1 2.93k | 0.1 int64 0 0 | 9032 int64 4 2.43M | 1 int64 1 1 |
|---|---|---|---|
1 | 0 | 39,506 | 1 |
1 | 0 | 39,507 | 1 |
2 | 0 | 4,893 | 1 |
2 | 0 | 4,895 | 1 |
2 | 0 | 4,912 | 1 |
3 | 0 | 31,507 | 1 |
3 | 0 | 90,314 | 1 |
4 | 0 | 29,672 | 1 |
4 | 0 | 29,678 | 1 |
4 | 0 | 29,691 | 1 |
5 | 0 | 1,248 | 1 |
5 | 0 | 1,252 | 1 |
5 | 0 | 1,257 | 1 |
5 | 0 | 1,265 | 1 |
5 | 0 | 100,587 | 1 |
6 | 0 | 5,024 | 1 |
6 | 0 | 26,234 | 1 |
7 | 0 | 32,543 | 1 |
7 | 0 | 32,552 | 1 |
8 | 0 | 36,810 | 1 |
9 | 0 | 10,980 | 1 |
9 | 0 | 10,994 | 1 |
9 | 0 | 11,018 | 1 |
10 | 0 | 16,889 | 1 |
10 | 0 | 95,961 | 1 |
11 | 0 | 10,199 | 1 |
11 | 0 | 10,201 | 1 |
12 | 0 | 47,006 | 1 |
12 | 0 | 47,009 | 1 |
12 | 0 | 47,010 | 1 |
13 | 0 | 1,512 | 1 |
14 | 0 | 42,618 | 1 |
14 | 0 | 42,630 | 1 |
15 | 0 | 3,375 | 1 |
15 | 0 | 40,181 | 1 |
16 | 0 | 21,453 | 1 |
16 | 0 | 82,134 | 1 |
17 | 0 | 12,442 | 1 |
18 | 0 | 55,389 | 1 |
18 | 0 | 55,394 | 1 |
19 | 0 | 13,445 | 1 |
20 | 0 | 1,495 | 1 |
20 | 0 | 6,133 | 1 |
20 | 0 | 23,580 | 1 |
21 | 0 | 24,466 | 1 |
21 | 0 | 24,467 | 1 |
22 | 0 | 9,493 | 1 |
22 | 0 | 9,494 | 1 |
23 | 0 | 59,903 | 1 |
23 | 0 | 59,904 | 1 |
23 | 0 | 59,908 | 1 |
24 | 0 | 81,132 | 1 |
25 | 0 | 78,026 | 1 |
25 | 0 | 78,028 | 1 |
25 | 0 | 78,036 | 1 |
26 | 0 | 6,092 | 1 |
26 | 0 | 60,542 | 1 |
27 | 0 | 21,819 | 1 |
27 | 0 | 21,902 | 1 |
27 | 0 | 21,921 | 1 |
27 | 0 | 22,050 | 1 |
28 | 0 | 75,437 | 1 |
29 | 0 | 77,361 | 1 |
29 | 0 | 77,365 | 1 |
29 | 0 | 77,392 | 1 |
30 | 0 | 26,611 | 1 |
30 | 0 | 26,613 | 1 |
31 | 0 | 42,463 | 1 |
31 | 0 | 42,479 | 1 |
31 | 0 | 42,480 | 1 |
31 | 0 | 42,485 | 1 |
31 | 0 | 42,486 | 1 |
31 | 0 | 42,582 | 1 |
32 | 0 | 14,268 | 1 |
32 | 0 | 14,270 | 1 |
32 | 0 | 14,283 | 1 |
32 | 0 | 17,713 | 1 |
32 | 0 | 22,662 | 1 |
32 | 0 | 71,090 | 1 |
33 | 0 | 58,928 | 1 |
34 | 0 | 7,697 | 1 |
34 | 0 | 7,698 | 1 |
35 | 0 | 3,820 | 1 |
35 | 0 | 11,832 | 1 |
35 | 0 | 21,275 | 1 |
35 | 0 | 21,548 | 1 |
35 | 0 | 106,764 | 1 |
36 | 0 | 20,789 | 1 |
37 | 0 | 44,214 | 1 |
38 | 0 | 4,565 | 1 |
38 | 0 | 4,579 | 1 |
39 | 0 | 49,661 | 1 |
39 | 0 | 49,663 | 1 |
39 | 0 | 56,916 | 1 |
40 | 0 | 68,195 | 1 |
41 | 0 | 7,706 | 1 |
42 | 0 | 62,838 | 1 |
42 | 0 | 62,839 | 1 |
42 | 0 | 62,840 | 1 |
42 | 0 | 62,846 | 1 |
lotte_pooled_dev_search_answerai_colbert_small
Multi-vector (late-interaction) embeddings of LoTTE pooled/dev/search (lotte/pooled/dev/search), encoded with
lightonai/answerai-colbert-small-v1 at revision e507cd12947a2b4b52201d150967df3c19a90590.
Source data: ir_datasets lotte/pooled/dev/search (ir_datasets 0.6.3), which downloads lotte.tar.gz (md5 3b2e88b1d66933627462950b4c3f5d0f). The ColBERTv2 authors also publish LoTTE on the Hub as colbertv2/lotte, 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 96-d vectors; every query is one variable-length set of 96-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) |
[339,419,977, 96] |
every document vector, concatenated document by document (62,149.7 MiB) |
doclens.npy |
int32 | [2,428,854] |
vectors per document; cumsum gives offsets |
token_ids.npy |
uint32 | [339,419,977] |
tokenizer id of each documents.npy row, 1:1 |
doc_ids.npy |
<U7 |
[2,428,854] |
original document ids |
queries.npy |
float32 (<f4) |
[2,931, 32, 96] |
query vectors, zero-padded at the end (34.3 MiB) |
query_lens.npy |
int32 | [2,931] |
true vectors per query, before padding |
queries_ids.npy |
<U4 |
[2,931] |
original query ids |
qrels.test.tsv |
text | 8,573 rows | TREC qrels, qid \t 0 \t docid \t relevance, no header |
gt_top100.tsv |
text | 293,100 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 | 2,428,854 |
| document vectors | 339,419,977 |
| vectors per document (min / median / mean / max) | 3 / 126 / 139.7 / 299 |
| queries | 2,931 |
| vectors per query (min / median / max) | 32 / 32 / 32 |
| queries with at least one qrel | 2,931 |
| qrels rows | 8,573 |
| embedding dimension | 96 |
Encoding
| model | lightonai/answerai-colbert-small-v1 |
| model revision | e507cd12947a2b4b52201d150967df3c19a90590 |
| 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 | query_length unset; fixed query expansion: every query is padded to 32 tokens with the tokenizer's mask token, which are not attended to, and those expansion vectors are kept |
| 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 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.
Self-matches are included. 1 of 2,931 queries are themselves corpus documents with the same id and retrieve that document (typically at rank 1). This is the raw nearest-neighbour list; BEIR's evaluation drops such pairs (ignore_identical_ids), so exclude them before scoring against qrels.
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, with query-id == doc-id pairs dropped as BEIR does.
| nDCG@10 | Recall@100 | MRR@10 | MAP |
|---|---|---|---|
| 0.5154 | 0.7844 | 0.5979 | 0.4458 |
Loading
import numpy as np
documents = np.load("documents.npy", mmap_mode="r") # [n_tokens, 96] 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], 96]
queries = np.load("queries.npy") # [n_queries, 32, 96] 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], 96]
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 (339419977, 96)
- β doclens.npy dtype/shape β <i4 (2428854,)
- β doc_ids.npy is a string array β <U7 (2428854,)
- β queries.npy dtype/shape β <f4 (2931, 32, 96)
- β query_lens.npy dtype/shape β <i4 (2931,)
- β queries_ids.npy is a string array β <U4 (2931,)
- β sum(doclens) == n_tokens β 339419977 vs 339419977
- β no empty documents β min doclen 3
- β len(doc_ids) == len(doclens) == corpus size β 2428854, 2428854, 2428854
- β doc_ids unique
- β query arrays aligned β 2931, 2931, 2931
- β doc and query dim agree β 96 / 96
- β token_ids.npy dtype/shape β <u4 (339419977,)
- β document vectors unit-norm (100k sample) β norm range [0.9995, 1.0006]
- β query vectors unit-norm β norm range [1.000000, 1.000000]
- β all vectors finite
- β gt_top100.tsv has k rows per query β 293100 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
- 34