hotchpotch commited on
Commit
6ed1691
·
verified ·
1 Parent(s): 3c92ee6

Restore NanoNFCorpus full qrels and rebuild candidates

Browse files
README.md CHANGED
@@ -209,7 +209,7 @@ dataset_info:
209
  num_bytes: 273956
210
  num_examples: 50
211
  - name: NanoNFCorpus
212
- num_bytes: 300058
213
  num_examples: 50
214
  - name: NanoNQ
215
  num_bytes: 335164
@@ -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: 55213
450
  num_examples: 50
451
  - name: NanoNFCorpus
452
- num_bytes: 60461
453
  num_examples: 50
454
  - name: NanoNQ
455
  num_bytes: 67874
@@ -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 | 63.8 | 60.5 | 80.2 | 914.4 | 661.0 | 1159.8 |
524
  | NanoHotpotQA | 50 | 5090 | 100 | 86.5 | 75.5 | 105.0 | 353.6 | 306.0 | 486.0 |
525
  | NanoMSMARCO | 50 | 5043 | 50 | 35.6 | 32.0 | 43.8 | 331.1 | 300.0 | 382.0 |
526
- | NanoNFCorpus | 50 | 2953 | 1651 | 23.1 | 20.0 | 33.5 | 1522.7 | 1540.0 | 1791.0 |
527
  | NanoNQ | 50 | 5035 | 57 | 45.6 | 44.5 | 53.8 | 514.5 | 436.0 | 738.5 |
528
  | NanoQuoraRetrieval | 50 | 5046 | 70 | 49.3 | 45.0 | 54.8 | 58.1 | 49.0 | 67.0 |
529
  | NanoSCIDOCS | 50 | 2210 | 244 | 77.1 | 74.0 | 89.5 | 944.5 | 919.0 | 1236.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 | - | 39.46 | 50.31 | 48.41 | 68.65 | 77.66 | 79.05 | - | 40 |
542
  | NanoArguAna | regex | 28.17 | 41.87 | 36.25 | 84.00 | 94.00 | 96.00 | 100-101 | 2 |
543
  | NanoClimateFEVER | regex | 23.89 | 29.46 | 32.66 | 60.10 | 61.47 | 66.40 | 100-101 | 2 |
544
  | NanoDBPedia | english_porter_stop | 47.04 | 56.93 | 55.67 | 59.82 | 75.27 | 74.97 | 100 | 0 |
@@ -546,7 +546,7 @@ Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt a
546
  | NanoFiQA2018 | regex | 19.04 | 30.94 | 31.83 | 49.02 | 67.88 | 65.31 | 100-101 | 10 |
547
  | NanoHotpotQA | regex | 63.27 | 75.16 | 74.14 | 87.00 | 95.00 | 96.00 | 100 | 0 |
548
  | NanoMSMARCO | regex | 28.33 | 45.41 | 40.72 | 76.00 | 92.00 | 90.00 | 100-101 | 5 |
549
- | NanoNFCorpus | regex | 16.02 | 21.65 | 19.54 | 11.98 | 18.73 | 18.78 | 100-101 | 11 |
550
  | NanoNQ | regex | 26.24 | 53.43 | 42.28 | 76.00 | 88.00 | 92.00 | 100-101 | 3 |
551
  | NanoQuoraRetrieval | regex | 58.37 | 81.00 | 71.29 | 93.60 | 96.00 | 97.33 | 100-101 | 1 |
552
  | NanoSCIDOCS | regex | 25.61 | 33.82 | 32.29 | 48.47 | 62.13 | 63.17 | 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: 40
559
  - Rows limited by corpus size: 0
560
  - Metadata file: `reranking_hybrid_metadata.json`
561
 
 
209
  num_bytes: 273956
210
  num_examples: 50
211
  - name: NanoNFCorpus
212
+ num_bytes: 300060
213
  num_examples: 50
214
  - name: NanoNQ
215
  num_bytes: 335164
 
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: 55213
450
  num_examples: 50
451
  - name: NanoNFCorpus
452
+ num_bytes: 60437
453
  num_examples: 50
454
  - name: NanoNQ
455
  num_bytes: 67874
 
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 | 63.8 | 60.5 | 80.2 | 914.4 | 661.0 | 1159.8 |
524
  | NanoHotpotQA | 50 | 5090 | 100 | 86.5 | 75.5 | 105.0 | 353.6 | 306.0 | 486.0 |
525
  | NanoMSMARCO | 50 | 5043 | 50 | 35.6 | 32.0 | 43.8 | 331.1 | 300.0 | 382.0 |
526
+ | NanoNFCorpus | 50 | 2953 | 2518 | 23.1 | 20.0 | 33.5 | 1522.7 | 1540.0 | 1791.0 |
527
  | NanoNQ | 50 | 5035 | 57 | 45.6 | 44.5 | 53.8 | 514.5 | 436.0 | 738.5 |
528
  | NanoQuoraRetrieval | 50 | 5046 | 70 | 49.3 | 45.0 | 54.8 | 58.1 | 49.0 | 67.0 |
529
  | NanoSCIDOCS | 50 | 2210 | 244 | 77.1 | 74.0 | 89.5 | 944.5 | 919.0 | 1236.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 | - | 39.59 | 50.50 | 48.68 | 68.68 | 77.67 | 79.21 | - | 38 |
542
  | NanoArguAna | regex | 28.17 | 41.87 | 36.25 | 84.00 | 94.00 | 96.00 | 100-101 | 2 |
543
  | NanoClimateFEVER | regex | 23.89 | 29.46 | 32.66 | 60.10 | 61.47 | 66.40 | 100-101 | 2 |
544
  | NanoDBPedia | english_porter_stop | 47.04 | 56.93 | 55.67 | 59.82 | 75.27 | 74.97 | 100 | 0 |
 
546
  | NanoFiQA2018 | regex | 19.04 | 30.94 | 31.83 | 49.02 | 67.88 | 65.31 | 100-101 | 10 |
547
  | NanoHotpotQA | regex | 63.27 | 75.16 | 74.14 | 87.00 | 95.00 | 96.00 | 100 | 0 |
548
  | NanoMSMARCO | regex | 28.33 | 45.41 | 40.72 | 76.00 | 92.00 | 90.00 | 100-101 | 5 |
549
+ | NanoNFCorpus | regex@regex | 17.76 | 24.11 | 23.01 | 12.30 | 18.76 | 20.87 | 100-101 | 9 |
550
  | NanoNQ | regex | 26.24 | 53.43 | 42.28 | 76.00 | 88.00 | 92.00 | 100-101 | 3 |
551
  | NanoQuoraRetrieval | regex | 58.37 | 81.00 | 71.29 | 93.60 | 96.00 | 97.33 | 100-101 | 1 |
552
  | NanoSCIDOCS | regex | 25.61 | 33.82 | 32.29 | 48.47 | 62.13 | 63.17 | 100-101 | 1 |
 
555
 
556
  ## Hybrid Safeguard Summary
557
 
558
+ - Safeguard positives: 38
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:6a47385cf057b1b9828f6ed058c8303a3173a0695721f36a8481c55b764af251
3
- size 301235
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edc9ee52252ace3d46f3c73113488b641f35f97d5b3e49368c316f6022b7e59f
3
+ size 301237
manifest.json CHANGED
@@ -76,9 +76,9 @@
76
  "split_name": "NanoNFCorpus",
77
  "queries": 50,
78
  "corpus": 2953,
79
- "qrels": 1651,
80
- "forced_doc_count": 1498,
81
- "bm25_ndcg_at_10": 0.2342336215523191,
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": 1948,
81
+ "bm25_ndcg_at_10": 0.17764347669629224,
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": "sh",
26
  "auto_detection_language_counts": {
@@ -33,21 +35,55 @@
33
  },
34
  "auto_detection_sample_size": 10
35
  },
36
- "ndcg_at_10": 0.2342336215523191,
 
37
  "candidate_coverage": {
38
- "top_k": 100,
39
  "query_count": 50,
40
  "query_with_relevance_count": 50,
41
  "covered_query_count": 50,
42
  "query_coverage": 1.0,
43
- "relevant_count": 1651,
44
- "covered_relevant_count": 1651,
45
  "relevant_coverage": 1.0
46
  },
47
- "rebuild_policy": "BM25 candidates were recomputed locally and qrels-positive documents missing from the raw top-k were forced into the final candidate list.",
48
- "forced_queries": 49,
49
- "forced_doc_count": 1498,
50
  "missing_positive_doc_count_after_forcing": 0,
51
- "rebuilt_at_utc": "2026-05-19T01:35:08.867903+00:00"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  }
53
  }
 
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": "sh",
28
  "auto_detection_language_counts": {
 
35
  },
36
  "auto_detection_sample_size": 10
37
  },
38
+ "ndcg_at_10": 0.17764347669629224,
39
+ "recall_at_100": 0.12298699330397568,
40
  "candidate_coverage": {
41
+ "top_k": 500,
42
  "query_count": 50,
43
  "query_with_relevance_count": 50,
44
  "covered_query_count": 50,
45
  "query_coverage": 1.0,
46
+ "relevant_count": 2518,
47
+ "covered_relevant_count": 2518,
48
  "relevant_coverage": 1.0
49
  },
50
+ "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.",
51
+ "forced_queries": 47,
52
+ "forced_doc_count": 1948,
53
  "missing_positive_doc_count_after_forcing": 0,
54
+ "rebuilt_at_utc": "2026-06-07T22:41:30.401331+00:00"
55
+ },
56
+ "harrier_oss_v1_270m": {
57
+ "source": "copied from current hakari-bench dataset; dense top-500 is qrels-independent",
58
+ "ndcg_at_10": 0.24105976427444703,
59
+ "recall_at_100": 0.18763592765728906,
60
+ "candidate_coverage": {
61
+ "top_k": 500,
62
+ "query_count": 50,
63
+ "query_with_relevance_count": 50,
64
+ "covered_query_count": 47,
65
+ "query_coverage": 0.94,
66
+ "relevant_count": 2518,
67
+ "covered_relevant_count": 802,
68
+ "relevant_coverage": 0.31850675138999207
69
+ }
70
+ },
71
+ "reranking_hybrid": {
72
+ "source": "rebuilt from BM25 top-500 and harrier_oss_v1_270m top-500 with RRF",
73
+ "rrf_k": 100,
74
+ "top_k": 100,
75
+ "ndcg_at_10": 0.23009498171751613,
76
+ "recall_at_100": 0.20870425429465364,
77
+ "candidate_coverage": {
78
+ "top_k": 100,
79
+ "query_count": 50,
80
+ "query_with_relevance_count": 50,
81
+ "covered_query_count": 41,
82
+ "query_coverage": 0.82,
83
+ "relevant_count": 2518,
84
+ "covered_relevant_count": 387,
85
+ "relevant_coverage": 0.15369340746624305
86
+ },
87
+ "safeguard_positive_count": 9
88
  }
89
  }
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:3474bfa96c0b3089235892a63aef56a2ed7503364b0881c79b2af2b7a06a1af4
3
- size 61631
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b57edb9d3bea3570e8100031d5353ad313ae41930a3ab86801f7b92135e9af21
3
+ size 61587