SilvioM97 commited on
Commit
f854089
·
verified ·
1 Parent(s): 56b7afc

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: MS MARCO v1 Passage multivector embeddings (ColBERTv2)
3
+ task_categories: [text-retrieval]
4
+ tags: [late-interaction, colbert, multivector, msmarco]
5
+ ---
6
+
7
+ # MS MARCO v1 Passage, ColBERTv2
8
+
9
+ Token-level (late-interaction) ColBERTv2 embeddings of the MS MARCO v1 passage collection and the dev/small queries.
10
+
11
+ ## Source
12
+ - Collection: MS MARCO v1 passage (`ir_datasets` `msmarco-passage`), 8,841,823 passages
13
+ - Queries: dev/small, 6,980 queries and 7,437 qrels (`msmarco-passage/dev/small`)
14
+ - Document order: passage id order (row *i* is pid *i*)
15
+
16
+ ## Encoding
17
+ - Model: ColBERTv2 (`colbert-ir/colbertv2.0`, BERT-base-uncased tokenizer)
18
+ - Documents start with `[CLS]` and the ColBERT `[D]` marker (token id 2)
19
+ - Queries: always 32 vectors (`[MASK]` expansion, no zero padding)
20
+ - Vectors: 128-d, L2-normalized
21
+ - **Not recorded:** exact checkpoint revision, encoding library, document length cap (the longest document has 300 vectors), and whether punctuation was dropped
22
+
23
+ ## Statistics
24
+ | | |
25
+ |---|---|
26
+ | Token vectors (N) | 597,909,919 |
27
+ | Avg vectors per document | 67.6 (min 4, max 300) |
28
+ | Vectors per query | 32 |
29
+
30
+ ## Files
31
+ | File | dtype | Shape | Content |
32
+ |---|---|---|---|
33
+ | `documents.npy` | uint16 (`<u2`) | `[597909919, 128]` | Raw float16 bit patterns stored as uint16. Read with `.view(np.float16)` |
34
+ | `doclens.npy` | int32 | `[8841823]` | Vectors per document; `sum == N` |
35
+ | `token_ids_per_token.npy` | int64 | `[597909919]` | Input token id of each row of `documents.npy` |
36
+ | `doc_ids.npy` | int64 | `[8841823]` | MS MARCO pid (equals the row index) |
37
+ | `queries.npy` | float32 | `[6980, 32, 128]` | Query vectors |
38
+ | `queries_ids.npy` | int64 | `[6980]` | MS MARCO qid of each query |
39
+
40
+ Document ids are MS MARCO passage ids and equal the row index: row *i* of `doclens.npy` is passage *i*.
41
+
42
+ `documents.npy` stores float16 values as their raw 16-bit patterns, with dtype uint16.
43
+ In numpy, read it with `np.load("documents.npy", mmap_mode="r").view(np.float16)`.
44
+
45
+ ## Relevance judgments
46
+ The official MS MARCO passage dev/small qrels (`qrels.dev.small.tsv`): 7,437 relevant
47
+ query-passage pairs over the 6,980 queries, all with relevance 1 (`ir_datasets` `msmarco-passage/dev/small`).
48
+ Standard metric: MRR@10 (`RR@10` in `ir_measures`).