hotchpotch commited on
Commit
2cfc763
·
verified ·
1 Parent(s): b2db384

Restore NanoNFCorpus full qrels and rebuild candidates

Browse files
README.md CHANGED
@@ -209,7 +209,7 @@ dataset_info:
209
  num_bytes: 274039
210
  num_examples: 50
211
  - name: NanoNFCorpus
212
- num_bytes: 300155
213
  num_examples: 50
214
  - name: NanoNQ
215
  num_bytes: 334792
@@ -353,8 +353,8 @@ dataset_info:
353
  num_bytes: 1065
354
  num_examples: 50
355
  - name: NanoNFCorpus
356
- num_bytes: 42309
357
- num_examples: 1651
358
  - name: NanoNQ
359
  num_bytes: 1340
360
  num_examples: 57
@@ -449,7 +449,7 @@ dataset_info:
449
  num_bytes: 55157
450
  num_examples: 50
451
  - name: NanoNFCorpus
452
- num_bytes: 60625
453
  num_examples: 50
454
  - name: NanoNQ
455
  num_bytes: 67868
@@ -500,15 +500,15 @@ This dataset uses six Hugging Face Datasets configs:
500
  - `harrier_oss_v1_270m`: dense candidate lists from `microsoft/harrier-oss-v1-270m`
501
  - `reranking_hybrid`: RRF candidate lists built from `bm25` and `harrier_oss_v1_270m`
502
 
503
- Each config has the same Nano split names.
504
 
505
  ## Candidate Construction
506
 
507
- - `bm25`: local BM25 top-500 with automatic language-aware tokenization. The resolved tokenizer is shown in the Candidate Quality table, for example `wordseg@ja`.
508
  - `harrier_oss_v1_270m`: dense top-500 from `microsoft/harrier-oss-v1-270m`. In tables this is shown as `Dense`; Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt for queries and cosine similarity over normalized embeddings.
509
  - `reranking_hybrid`: RRF over `bm25` and `harrier_oss_v1_270m` using `rrf_k=100`, keeping the RRF top-100.
510
 
511
- Safeguard means rank 101 is appended only when RRF top-100 contains no qrels-positive document.
512
 
513
  ## Split Statistics
514
 
@@ -523,7 +523,7 @@ Length statistics are character counts computed with `len(str(text))`.
523
  | NanoFiQA2018 | 50 | 4598 | 123 | 58.5 | 55.0 | 75.2 | 899.6 | 651.0 | 1136.8 |
524
  | NanoHotpotQA | 50 | 5090 | 100 | 88.3 | 82.5 | 107.0 | 349.6 | 299.0 | 479.0 |
525
  | NanoMSMARCO | 50 | 5043 | 50 | 32.2 | 29.0 | 40.0 | 330.2 | 298.0 | 380.0 |
526
- | NanoNFCorpus | 50 | 2953 | 1651 | 21.0 | 16.5 | 31.5 | 1512.7 | 1532.0 | 1775.0 |
527
  | NanoNQ | 50 | 5035 | 57 | 47.0 | 42.5 | 53.0 | 525.6 | 443.0 | 758.0 |
528
  | NanoQuoraRetrieval | 50 | 5046 | 70 | 48.0 | 43.5 | 54.8 | 54.8 | 47.0 | 64.0 |
529
  | NanoSCIDOCS | 50 | 2210 | 244 | 72.8 | 71.5 | 81.8 | 923.6 | 910.5 | 1230.5 |
@@ -538,7 +538,7 @@ Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt a
538
 
539
  | Nano split | BM25 tokenizer | BM25 nDCG@10 | Dense nDCG@10 | Hybrid nDCG@10 | BM25 Recall@100 | Dense Recall@100 | Hybrid Recall@100 | Hybrid candidates | Safeguard positives |
540
  |---|---|---:|---:|---:|---:|---:|---:|---:|---:|
541
- | Mean | - | 57.15 | 60.86 | 61.52 | 81.65 | 84.36 | 86.27 | - | 14 |
542
  | NanoArguAna | english_porter_stop | 46.50 | 57.87 | 54.22 | 100.00 | 94.00 | 100.00 | 100 | 0 |
543
  | NanoClimateFEVER | english_porter_stop | 32.66 | 28.11 | 34.19 | 60.50 | 72.83 | 74.33 | 100-101 | 1 |
544
  | NanoDBPedia | english_porter_stop | 63.74 | 62.43 | 65.64 | 77.87 | 79.94 | 85.56 | 100 | 0 |
@@ -546,7 +546,7 @@ Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt a
546
  | NanoFiQA2018 | english_porter_stop | 42.11 | 50.11 | 51.50 | 73.51 | 77.31 | 81.59 | 100-101 | 4 |
547
  | NanoHotpotQA | english_porter_stop | 82.70 | 80.43 | 83.25 | 96.00 | 91.00 | 97.00 | 100 | 0 |
548
  | NanoMSMARCO | english_porter_stop | 52.17 | 61.88 | 61.70 | 100.00 | 100.00 | 100.00 | 100 | 0 |
549
- | NanoNFCorpus | english_porter_stop | 30.60 | 31.35 | 31.78 | 21.05 | 30.58 | 29.69 | 100-101 | 6 |
550
  | NanoNQ | english_porter_stop | 51.40 | 67.26 | 65.84 | 92.00 | 100.00 | 97.00 | 100-101 | 1 |
551
  | NanoQuoraRetrieval | english_porter_stop | 87.45 | 88.88 | 91.05 | 100.00 | 96.00 | 100.00 | 100 | 0 |
552
  | NanoSCIDOCS | english_porter_stop | 32.94 | 43.92 | 39.62 | 61.37 | 81.40 | 71.20 | 100-101 | 1 |
@@ -555,7 +555,7 @@ Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt a
555
 
556
  ## Hybrid Safeguard Summary
557
 
558
- - Safeguard positives: 14
559
  - Rows limited by corpus size: 0
560
  - Metadata file: `reranking_hybrid_metadata.json`
561
 
 
209
  num_bytes: 274039
210
  num_examples: 50
211
  - name: NanoNFCorpus
212
+ num_bytes: 300134
213
  num_examples: 50
214
  - name: NanoNQ
215
  num_bytes: 334792
 
353
  num_bytes: 1065
354
  num_examples: 50
355
  - name: NanoNFCorpus
356
+ num_bytes: 64851
357
+ num_examples: 2518
358
  - name: NanoNQ
359
  num_bytes: 1340
360
  num_examples: 57
 
449
  num_bytes: 55157
450
  num_examples: 50
451
  - name: NanoNFCorpus
452
+ num_bytes: 60573
453
  num_examples: 50
454
  - name: NanoNQ
455
  num_bytes: 67868
 
500
  - `harrier_oss_v1_270m`: dense candidate lists from `microsoft/harrier-oss-v1-270m`
501
  - `reranking_hybrid`: RRF candidate lists built from `bm25` and `harrier_oss_v1_270m`
502
 
503
+ Each config has the same Nano split names. `NanoNFCorpus` includes the full positive qrels (2,518 rows); qrels are not capped to the top-100 reranking depth.
504
 
505
  ## Candidate Construction
506
 
507
+ - `bm25`: local BM25 top-500 with automatic tokenizer selection. Auto mode uses `wordseg` for `ja`, `zh`, `th`, `ko`, and `vi`, and `regex` otherwise. The resolved tokenizer is shown for each split in the Candidate Quality table.
508
  - `harrier_oss_v1_270m`: dense top-500 from `microsoft/harrier-oss-v1-270m`. In tables this is shown as `Dense`; Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt for queries and cosine similarity over normalized embeddings.
509
  - `reranking_hybrid`: RRF over `bm25` and `harrier_oss_v1_270m` using `rrf_k=100`, keeping the RRF top-100.
510
 
511
+ Safeguard means rank 101 is appended only when RRF top-100 contains no qrels-positive document. Qrels are not capped to fit the top-100 reranking depth. For `NanoNFCorpus`, some queries have more than 100 positive qrels, so top-100 hybrid candidate coverage is expected to be below 100%; this is a candidate-list diagnostic, not a qrels filtering rule.
512
 
513
  ## Split Statistics
514
 
 
523
  | NanoFiQA2018 | 50 | 4598 | 123 | 58.5 | 55.0 | 75.2 | 899.6 | 651.0 | 1136.8 |
524
  | NanoHotpotQA | 50 | 5090 | 100 | 88.3 | 82.5 | 107.0 | 349.6 | 299.0 | 479.0 |
525
  | NanoMSMARCO | 50 | 5043 | 50 | 32.2 | 29.0 | 40.0 | 330.2 | 298.0 | 380.0 |
526
+ | NanoNFCorpus | 50 | 2953 | 2518 | 21.0 | 16.5 | 31.5 | 1512.7 | 1532.0 | 1775.0 |
527
  | NanoNQ | 50 | 5035 | 57 | 47.0 | 42.5 | 53.0 | 525.6 | 443.0 | 758.0 |
528
  | NanoQuoraRetrieval | 50 | 5046 | 70 | 48.0 | 43.5 | 54.8 | 54.8 | 47.0 | 64.0 |
529
  | NanoSCIDOCS | 50 | 2210 | 244 | 72.8 | 71.5 | 81.8 | 923.6 | 910.5 | 1230.5 |
 
538
 
539
  | Nano split | BM25 tokenizer | BM25 nDCG@10 | Dense nDCG@10 | Hybrid nDCG@10 | BM25 Recall@100 | Dense Recall@100 | Hybrid Recall@100 | Hybrid candidates | Safeguard positives |
540
  |---|---|---:|---:|---:|---:|---:|---:|---:|---:|
541
+ | Mean | - | 57.34 | 61.06 | 61.80 | 81.58 | 84.35 | 86.43 | - | 13 |
542
  | NanoArguAna | english_porter_stop | 46.50 | 57.87 | 54.22 | 100.00 | 94.00 | 100.00 | 100 | 0 |
543
  | NanoClimateFEVER | english_porter_stop | 32.66 | 28.11 | 34.19 | 60.50 | 72.83 | 74.33 | 100-101 | 1 |
544
  | NanoDBPedia | english_porter_stop | 63.74 | 62.43 | 65.64 | 77.87 | 79.94 | 85.56 | 100 | 0 |
 
546
  | NanoFiQA2018 | english_porter_stop | 42.11 | 50.11 | 51.50 | 73.51 | 77.31 | 81.59 | 100-101 | 4 |
547
  | NanoHotpotQA | english_porter_stop | 82.70 | 80.43 | 83.25 | 96.00 | 91.00 | 97.00 | 100 | 0 |
548
  | NanoMSMARCO | english_porter_stop | 52.17 | 61.88 | 61.70 | 100.00 | 100.00 | 100.00 | 100 | 0 |
549
+ | NanoNFCorpus | regex@regex | 33.03 | 33.81 | 35.32 | 20.22 | 30.44 | 31.69 | 100-101 | 5 |
550
  | NanoNQ | english_porter_stop | 51.40 | 67.26 | 65.84 | 92.00 | 100.00 | 97.00 | 100-101 | 1 |
551
  | NanoQuoraRetrieval | english_porter_stop | 87.45 | 88.88 | 91.05 | 100.00 | 96.00 | 100.00 | 100 | 0 |
552
  | NanoSCIDOCS | english_porter_stop | 32.94 | 43.92 | 39.62 | 61.37 | 81.40 | 71.20 | 100-101 | 1 |
 
555
 
556
  ## Hybrid Safeguard Summary
557
 
558
+ - Safeguard positives: 13
559
  - Rows limited by corpus size: 0
560
  - Metadata file: `reranking_hybrid_metadata.json`
561
 
bm25/NanoNFCorpus-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1fa4c1644ef43c1fd8381d250cad85b78db9312383abb525614e454a49696e16
3
- size 301332
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a47e60603ab3fa98ac4cefeadbe97f6639272a6cc9e5d197521f8faaa2fcae4e
3
+ size 301311
manifest.json CHANGED
@@ -76,9 +76,9 @@
76
  "split_name": "NanoNFCorpus",
77
  "queries": 50,
78
  "corpus": 2953,
79
- "qrels": 1651,
80
- "forced_doc_count": 1391,
81
- "bm25_ndcg_at_10": 0.3619835431487573,
82
  "bm25_query_coverage": 1.0,
83
  "bm25_relevant_coverage": 1.0
84
  },
 
76
  "split_name": "NanoNFCorpus",
77
  "queries": 50,
78
  "corpus": 2953,
79
+ "qrels": 2518,
80
+ "forced_doc_count": 1823,
81
+ "bm25_ndcg_at_10": 0.3302859919291999,
82
  "bm25_query_coverage": 1.0,
83
  "bm25_relevant_coverage": 1.0
84
  },
metadata/NanoNFCorpus.json CHANGED
@@ -2,12 +2,14 @@
2
  "split_name": "NanoNFCorpus",
3
  "queries": 50,
4
  "corpus": 2953,
5
- "qrels": 1651,
6
  "source_non_positive_qrels": 0,
7
  "qrels_selection": {
8
- "qrels_per_query_cap": 100,
9
- "removed_qrels_over_cap": 0,
10
- "qrels_cap_policy": "positive qrels are capped per query to the BM25 candidate top_k"
 
 
11
  },
12
  "bm25": {
13
  "config": {
@@ -17,10 +19,10 @@
17
  "tokenizer": "regex",
18
  "tokenizer_name": null,
19
  "stemmer_algorithm": "english",
20
- "top_k": 100,
21
  "k1": 1.5,
22
  "b": 0.75,
23
- "show_progress": true,
24
  "auto_selected": true,
25
  "auto_detected_language": "en",
26
  "auto_detection_language_counts": {
@@ -28,21 +30,55 @@
28
  },
29
  "auto_detection_sample_size": 10
30
  },
31
- "ndcg_at_10": 0.3619835431487573,
 
32
  "candidate_coverage": {
33
- "top_k": 100,
34
  "query_count": 50,
35
  "query_with_relevance_count": 50,
36
  "covered_query_count": 50,
37
  "query_coverage": 1.0,
38
- "relevant_count": 1651,
39
- "covered_relevant_count": 1651,
40
  "relevant_coverage": 1.0
41
  },
42
- "rebuild_policy": "BM25 candidates were recomputed locally and qrels-positive documents missing from the raw top-k were forced into the final candidate list.",
43
- "forced_queries": 47,
44
- "forced_doc_count": 1391,
45
  "missing_positive_doc_count_after_forcing": 0,
46
- "rebuilt_at_utc": "2026-05-19T01:30:09.912080+00:00"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  }
48
  }
 
2
  "split_name": "NanoNFCorpus",
3
  "queries": 50,
4
  "corpus": 2953,
5
+ "qrels": 2518,
6
  "source_non_positive_qrels": 0,
7
  "qrels_selection": {
8
+ "qrels_policy": "full positive qrels preserved",
9
+ "restored_qrels_from": "sentence-transformers/NanoBEIR-en@beb106fbcfaa599c508c667041bf8c85fd78736b",
10
+ "previous_hakari_qrels": 1651,
11
+ "restored_qrels": 867,
12
+ "max_positive_qrels_per_query": 463
13
  },
14
  "bm25": {
15
  "config": {
 
19
  "tokenizer": "regex",
20
  "tokenizer_name": null,
21
  "stemmer_algorithm": "english",
22
+ "top_k": 500,
23
  "k1": 1.5,
24
  "b": 0.75,
25
+ "show_progress": false,
26
  "auto_selected": true,
27
  "auto_detected_language": "en",
28
  "auto_detection_language_counts": {
 
30
  },
31
  "auto_detection_sample_size": 10
32
  },
33
+ "ndcg_at_10": 0.3302859919291999,
34
+ "recall_at_100": 0.20223779487980484,
35
  "candidate_coverage": {
36
+ "top_k": 500,
37
  "query_count": 50,
38
  "query_with_relevance_count": 50,
39
  "covered_query_count": 50,
40
  "query_coverage": 1.0,
41
+ "relevant_count": 2518,
42
+ "covered_relevant_count": 2518,
43
  "relevant_coverage": 1.0
44
  },
45
+ "rebuild_policy": "BM25 top-500 was recomputed locally; full qrels were preserved; qrels-positive documents were forced into the top-500 candidate list when missing.",
46
+ "forced_queries": 46,
47
+ "forced_doc_count": 1823,
48
  "missing_positive_doc_count_after_forcing": 0,
49
+ "rebuilt_at_utc": "2026-06-07T22:40:13.006971+00:00"
50
+ },
51
+ "harrier_oss_v1_270m": {
52
+ "source": "copied from current hakari-bench dataset; dense top-500 is qrels-independent",
53
+ "ndcg_at_10": 0.33811016427765767,
54
+ "recall_at_100": 0.3043712120494943,
55
+ "candidate_coverage": {
56
+ "top_k": 500,
57
+ "query_count": 50,
58
+ "query_with_relevance_count": 50,
59
+ "covered_query_count": 48,
60
+ "query_coverage": 0.96,
61
+ "relevant_count": 2518,
62
+ "covered_relevant_count": 1077,
63
+ "relevant_coverage": 0.4277204130262113
64
+ }
65
+ },
66
+ "reranking_hybrid": {
67
+ "source": "rebuilt from BM25 top-500 and harrier_oss_v1_270m top-500 with RRF",
68
+ "rrf_k": 100,
69
+ "top_k": 100,
70
+ "ndcg_at_10": 0.3532276462667276,
71
+ "recall_at_100": 0.31688344735913987,
72
+ "candidate_coverage": {
73
+ "top_k": 100,
74
+ "query_count": 50,
75
+ "query_with_relevance_count": 50,
76
+ "covered_query_count": 45,
77
+ "query_coverage": 0.9,
78
+ "relevant_count": 2518,
79
+ "covered_relevant_count": 554,
80
+ "relevant_coverage": 0.2200158856235107
81
+ },
82
+ "safeguard_positive_count": 5
83
  }
84
  }
qrels/NanoNFCorpus-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:040edc79f4314589b75c857f37766b4f60e4cc3158728356617258096d549cd8
3
- size 9758
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40724452b59698b31db1a9de39b35400e99d18398a053a71d57ddf11d1d59a55
3
+ size 13254
reranking_hybrid/NanoNFCorpus-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e04ed19b0e12b714b6481739e86b1183c6c82d3aff5ce14c54ceb51d4adcb06e
3
- size 61795
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7358f01b88d0f2ac149cbc1906d068c6c2baf847193b911e88721decbde3a2c9
3
+ size 61723