robro612 commited on
Commit
aa1ef89
·
verified ·
1 Parent(s): 40faa07

Ground truth to top-1000; card regenerated

Browse files
Files changed (3) hide show
  1. README.md +14 -9
  2. gt_top100.tsv +11 -11
  3. gt_top1000.tsv +0 -0
README.md CHANGED
@@ -34,7 +34,8 @@ respectively), see [Encoding](#encoding).
34
  | `query_lens.npy` | int32 | `[50]` | true vectors per query, before padding |
35
  | `queries_ids.npy` | `<U2` | `[50]` | original query ids |
36
  | `qrels.test.tsv` | text | 66,336 rows | TREC qrels, `qid \t 0 \t docid \t relevance`, no header |
37
- | `gt_top100.tsv` | text | 5,000 rows | exact MaxSim top-100, see below |
 
38
 
39
  All positional indices (the `gt_top*.tsv` files, and the row order of every `.npy` file) refer to the
40
  order of `doc_ids.npy` and `queries_ids.npy`. Reordering either file invalidates the ground truth.
@@ -74,9 +75,9 @@ order of `doc_ids.npy` and `queries_ids.npy`. Reordering either file invalidates
74
  | query padding | rows at or beyond `query_lens[i]` in `queries.npy[i]` are exactly zero |
75
  | token_ids | tokenizer id of each kept document token (no skiplist, so every token), aligned 1:1 with `documents.npy` |
76
 
77
- ## Ground truth: `gt_top100.tsv`
78
 
79
- Exact brute-force MaxSim top-100 per query over the full corpus, from the vectors in this repo.
80
 
81
  No header; tab-separated `qidx docidx rank score`:
82
 
@@ -89,12 +90,12 @@ No header; tab-separated `qidx docidx rank score`:
89
 
90
  ## Retrieval quality
91
 
92
- Sanity check of the vectors, not a leaderboard number: `gt_top100.tsv` (exact MaxSim over the full
93
  corpus) scored against `qrels.test.tsv` with ir_measures.
94
 
95
- | nDCG@10 | MRR@10 | Success@5 | Recall@100 | Recall@1000 | MAP@100 |
96
  |---|---|---|---|---|---|
97
- | 0.8194 | 0.9467 | 1.0000 | 0.1570 | n/a (gt is top-100) | 0.1281 |
98
 
99
  ## Loading
100
 
@@ -142,8 +143,12 @@ Checks run by the exporter on the files exactly as written here:
142
  - ✅ query vectors unit-norm — norm range [1.000000, 1.000000]
143
  - ✅ all vectors finite
144
  - ✅ gt_top100.tsv has k rows per query — 5000 rows, k=100
145
- - ✅ gt rows grouped by qidx with ranks 1..k and descending scores
146
- - ✅ gt indices in range
 
 
 
 
147
 
148
  ## Provenance
149
 
@@ -151,4 +156,4 @@ Checks run by the exporter on the files exactly as written here:
151
  |---|---|
152
  | exported | 2026-09-25 |
153
  | hardware | Tesla V100S-PCIE-32GB |
154
- | revised | 2026-09-28: card regenerated; every other file unchanged |
 
34
  | `query_lens.npy` | int32 | `[50]` | true vectors per query, before padding |
35
  | `queries_ids.npy` | `<U2` | `[50]` | original query ids |
36
  | `qrels.test.tsv` | text | 66,336 rows | TREC qrels, `qid \t 0 \t docid \t relevance`, no header |
37
+ | `gt_top1000.tsv` | text | 50,000 rows | exact MaxSim top-1000, see below |
38
+ | `gt_top100.tsv` | text | 5,000 rows | first 100 ranks of `gt_top1000.tsv`, same format |
39
 
40
  All positional indices (the `gt_top*.tsv` files, and the row order of every `.npy` file) refer to the
41
  order of `doc_ids.npy` and `queries_ids.npy`. Reordering either file invalidates the ground truth.
 
75
  | query padding | rows at or beyond `query_lens[i]` in `queries.npy[i]` are exactly zero |
76
  | token_ids | tokenizer id of each kept document token (no skiplist, so every token), aligned 1:1 with `documents.npy` |
77
 
78
+ ## Ground truth: `gt_top1000.tsv` and `gt_top100.tsv`
79
 
80
+ 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).
81
 
82
  No header; tab-separated `qidx docidx rank score`:
83
 
 
90
 
91
  ## Retrieval quality
92
 
93
+ Sanity check of the vectors, not a leaderboard number: `gt_top1000.tsv` (exact MaxSim over the full
94
  corpus) scored against `qrels.test.tsv` with ir_measures.
95
 
96
+ | nDCG@10 | MRR@10 | Success@5 | Recall@100 | Recall@1000 | MAP@1000 |
97
  |---|---|---|---|---|---|
98
+ | 0.8194 | 0.9467 | 1.0000 | 0.1570 | 0.5425 | 0.3181 |
99
 
100
  ## Loading
101
 
 
143
  - ✅ query vectors unit-norm — norm range [1.000000, 1.000000]
144
  - ✅ all vectors finite
145
  - ✅ gt_top100.tsv has k rows per query — 5000 rows, k=100
146
+ - ✅ gt_top100.tsv rows grouped by qidx with ranks 1..k and descending scores
147
+ - ✅ gt_top100.tsv indices in range
148
+ - ✅ gt_top1000.tsv has k rows per query — 50000 rows, k=1000
149
+ - ✅ gt_top1000.tsv rows grouped by qidx with ranks 1..k and descending scores
150
+ - ✅ gt_top1000.tsv indices in range
151
+ - ✅ gt_top100.tsv is the first 100 ranks of gt_top1000.tsv
152
 
153
  ## Provenance
154
 
 
156
  |---|---|
157
  | exported | 2026-09-25 |
158
  | hardware | Tesla V100S-PCIE-32GB |
159
+ | 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: 11 rows differ from the previous file, 10 with a different document at that rank, scores moving by at most 0.000002 |
gt_top100.tsv CHANGED
@@ -230,8 +230,8 @@
230
  2 98245 30 15.809555
231
  2 69655 31 15.808745
232
  2 102335 32 15.805311
233
- 2 137315 33 15.804846
234
- 2 96038 34 15.804846
235
  2 168236 35 15.804804
236
  2 92985 36 15.803965
237
  2 150466 37 15.803871
@@ -1176,8 +1176,8 @@
1176
  11 86345 76 14.319447
1177
  11 109158 77 14.319123
1178
  11 92672 78 14.318392
1179
- 11 161959 79 14.318081
1180
- 11 27627 80 14.318081
1181
  11 58018 81 14.317915
1182
  11 102054 82 14.317609
1183
  11 166459 83 14.317333
@@ -2074,8 +2074,8 @@
2074
  20 1148 74 11.526816
2075
  20 67979 75 11.526806
2076
  20 151011 76 11.526300
2077
- 20 167010 77 11.525697
2078
- 20 70307 78 11.525697
2079
  20 105804 79 11.525696
2080
  20 89035 80 11.524739
2081
  20 89036 81 11.524689
@@ -4232,8 +4232,8 @@
4232
  42 124155 32 17.450447
4233
  42 106033 33 17.449821
4234
  42 113589 34 17.448311
4235
- 42 155031 35 17.446857
4236
- 42 67262 36 17.446857
4237
  42 109425 37 17.446609
4238
  42 34847 38 17.445608
4239
  42 158736 39 17.442848
@@ -4796,7 +4796,7 @@
4796
  47 112360 96 21.243443
4797
  47 101681 97 21.243160
4798
  47 30867 98 21.243145
4799
- 47 170999 99 21.237846
4800
  47 26682 100 21.237015
4801
  48 73595 1 27.100231
4802
  48 73632 2 27.011673
@@ -4873,8 +4873,8 @@
4873
  48 92630 73 26.842239
4874
  48 130457 74 26.842043
4875
  48 99805 75 26.841499
4876
- 48 95575 76 26.840677
4877
- 48 44526 77 26.840677
4878
  48 73367 78 26.840328
4879
  48 61032 79 26.839924
4880
  48 36687 80 26.839666
 
230
  2 98245 30 15.809555
231
  2 69655 31 15.808745
232
  2 102335 32 15.805311
233
+ 2 96038 33 15.804846
234
+ 2 137315 34 15.804846
235
  2 168236 35 15.804804
236
  2 92985 36 15.803965
237
  2 150466 37 15.803871
 
1176
  11 86345 76 14.319447
1177
  11 109158 77 14.319123
1178
  11 92672 78 14.318392
1179
+ 11 27627 79 14.318081
1180
+ 11 161959 80 14.318081
1181
  11 58018 81 14.317915
1182
  11 102054 82 14.317609
1183
  11 166459 83 14.317333
 
2074
  20 1148 74 11.526816
2075
  20 67979 75 11.526806
2076
  20 151011 76 11.526300
2077
+ 20 70307 77 11.525697
2078
+ 20 167010 78 11.525697
2079
  20 105804 79 11.525696
2080
  20 89035 80 11.524739
2081
  20 89036 81 11.524689
 
4232
  42 124155 32 17.450447
4233
  42 106033 33 17.449821
4234
  42 113589 34 17.448311
4235
+ 42 67262 35 17.446857
4236
+ 42 155031 36 17.446857
4237
  42 109425 37 17.446609
4238
  42 34847 38 17.445608
4239
  42 158736 39 17.442848
 
4796
  47 112360 96 21.243443
4797
  47 101681 97 21.243160
4798
  47 30867 98 21.243145
4799
+ 47 170999 99 21.237844
4800
  47 26682 100 21.237015
4801
  48 73595 1 27.100231
4802
  48 73632 2 27.011673
 
4873
  48 92630 73 26.842239
4874
  48 130457 74 26.842043
4875
  48 99805 75 26.841499
4876
+ 48 44526 76 26.840677
4877
+ 48 95575 77 26.840677
4878
  48 73367 78 26.840328
4879
  48 61032 79 26.839924
4880
  48 36687 80 26.839666
gt_top1000.tsv ADDED
The diff for this file is too large to render. See raw diff