hotchpotch commited on
Commit
910fcbf
·
verified ·
1 Parent(s): 2417708

Restore NanoNFCorpus full qrels and rebuild candidates

Browse files
README.md CHANGED
@@ -209,7 +209,7 @@ dataset_info:
209
  num_bytes: 273112
210
  num_examples: 50
211
  - name: NanoNFCorpus
212
- num_bytes: 299999
213
  num_examples: 50
214
  - name: NanoNQ
215
  num_bytes: 336367
@@ -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: 55165
450
  num_examples: 50
451
  - name: NanoNFCorpus
452
- num_bytes: 60759
453
  num_examples: 50
454
  - name: NanoNQ
455
  num_bytes: 67935
@@ -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 | 55.2 | 51.5 | 70.0 | 779.2 | 574.5 | 999.8 |
524
  | NanoHotpotQA | 50 | 5090 | 100 | 79.7 | 74.0 | 99.8 | 330.7 | 287.0 | 449.0 |
525
  | NanoMSMARCO | 50 | 5043 | 50 | 32.1 | 29.0 | 38.5 | 293.9 | 266.0 | 339.0 |
526
- | NanoNFCorpus | 50 | 2953 | 1651 | 22.6 | 20.5 | 31.0 | 1387.4 | 1409.0 | 1647.0 |
527
  | NanoNQ | 50 | 5035 | 57 | 40.8 | 39.0 | 44.8 | 473.6 | 402.0 | 673.0 |
528
  | NanoQuoraRetrieval | 50 | 5046 | 70 | 46.9 | 42.0 | 56.0 | 53.7 | 47.0 | 62.0 |
529
  | NanoSCIDOCS | 50 | 2210 | 244 | 69.1 | 68.5 | 82.0 | 820.4 | 814.5 | 1100.0 |
@@ -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 | - | 43.57 | 50.81 | 49.44 | 74.10 | 78.86 | 81.23 | - | 33 |
542
  | NanoArguAna | wordseg@th | 40.51 | 37.21 | 43.49 | 94.00 | 90.00 | 92.00 | 100-101 | 4 |
543
  | NanoClimateFEVER | wordseg@th | 23.68 | 34.44 | 30.15 | 58.00 | 69.53 | 71.27 | 100-101 | 2 |
544
  | NanoDBPedia | wordseg@th | 50.43 | 54.68 | 54.82 | 68.43 | 74.92 | 78.09 | 100 | 0 |
@@ -546,7 +546,7 @@ Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt a
546
  | NanoFiQA2018 | wordseg@th | 27.26 | 40.85 | 39.11 | 65.29 | 70.98 | 73.74 | 100-101 | 6 |
547
  | NanoHotpotQA | wordseg@th | 55.23 | 68.80 | 66.52 | 86.00 | 95.00 | 96.00 | 100 | 0 |
548
  | NanoMSMARCO | wordseg@th | 29.07 | 42.65 | 36.53 | 80.00 | 92.00 | 94.00 | 100-101 | 3 |
549
- | NanoNFCorpus | wordseg@th | 24.84 | 21.33 | 25.20 | 18.29 | 21.02 | 23.35 | 100-101 | 8 |
550
  | NanoNQ | wordseg@th | 31.91 | 53.67 | 42.46 | 84.00 | 92.00 | 93.00 | 100-101 | 3 |
551
  | NanoQuoraRetrieval | wordseg@th | 72.67 | 88.59 | 79.28 | 96.00 | 100.00 | 100.00 | 100 | 0 |
552
  | NanoSCIDOCS | wordseg@th | 26.41 | 29.15 | 31.65 | 55.97 | 60.07 | 62.47 | 100-101 | 2 |
@@ -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: 33
559
  - Rows limited by corpus size: 0
560
  - Metadata file: `reranking_hybrid_metadata.json`
561
 
 
209
  num_bytes: 273112
210
  num_examples: 50
211
  - name: NanoNFCorpus
212
+ num_bytes: 300043
213
  num_examples: 50
214
  - name: NanoNQ
215
  num_bytes: 336367
 
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: 55165
450
  num_examples: 50
451
  - name: NanoNFCorpus
452
+ num_bytes: 60735
453
  num_examples: 50
454
  - name: NanoNQ
455
  num_bytes: 67935
 
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 | 55.2 | 51.5 | 70.0 | 779.2 | 574.5 | 999.8 |
524
  | NanoHotpotQA | 50 | 5090 | 100 | 79.7 | 74.0 | 99.8 | 330.7 | 287.0 | 449.0 |
525
  | NanoMSMARCO | 50 | 5043 | 50 | 32.1 | 29.0 | 38.5 | 293.9 | 266.0 | 339.0 |
526
+ | NanoNFCorpus | 50 | 2953 | 2518 | 22.6 | 20.5 | 31.0 | 1387.4 | 1409.0 | 1647.0 |
527
  | NanoNQ | 50 | 5035 | 57 | 40.8 | 39.0 | 44.8 | 473.6 | 402.0 | 673.0 |
528
  | NanoQuoraRetrieval | 50 | 5046 | 70 | 46.9 | 42.0 | 56.0 | 53.7 | 47.0 | 62.0 |
529
  | NanoSCIDOCS | 50 | 2210 | 244 | 69.1 | 68.5 | 82.0 | 820.4 | 814.5 | 1100.0 |
 
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 | - | 43.71 | 51.02 | 49.61 | 74.11 | 78.86 | 81.39 | - | 31 |
542
  | NanoArguAna | wordseg@th | 40.51 | 37.21 | 43.49 | 94.00 | 90.00 | 92.00 | 100-101 | 4 |
543
  | NanoClimateFEVER | wordseg@th | 23.68 | 34.44 | 30.15 | 58.00 | 69.53 | 71.27 | 100-101 | 2 |
544
  | NanoDBPedia | wordseg@th | 50.43 | 54.68 | 54.82 | 68.43 | 74.92 | 78.09 | 100 | 0 |
 
546
  | NanoFiQA2018 | wordseg@th | 27.26 | 40.85 | 39.11 | 65.29 | 70.98 | 73.74 | 100-101 | 6 |
547
  | NanoHotpotQA | wordseg@th | 55.23 | 68.80 | 66.52 | 86.00 | 95.00 | 96.00 | 100 | 0 |
548
  | NanoMSMARCO | wordseg@th | 29.07 | 42.65 | 36.53 | 80.00 | 92.00 | 94.00 | 100-101 | 3 |
549
+ | NanoNFCorpus | wordseg@th | 26.63 | 24.09 | 27.43 | 18.36 | 21.06 | 25.49 | 100-101 | 6 |
550
  | NanoNQ | wordseg@th | 31.91 | 53.67 | 42.46 | 84.00 | 92.00 | 93.00 | 100-101 | 3 |
551
  | NanoQuoraRetrieval | wordseg@th | 72.67 | 88.59 | 79.28 | 96.00 | 100.00 | 100.00 | 100 | 0 |
552
  | NanoSCIDOCS | wordseg@th | 26.41 | 29.15 | 31.65 | 55.97 | 60.07 | 62.47 | 100-101 | 2 |
 
555
 
556
  ## Hybrid Safeguard Summary
557
 
558
+ - Safeguard positives: 31
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:7648253b06e212f27df1ae26bdc124e84a5201e4a735135e71b8780a935753b6
3
- size 301176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70747b27545642649e73e5bfefd7d001991694ba413118e2ff768554de5f4f18
3
+ size 301220
manifest.json CHANGED
@@ -76,9 +76,9 @@
76
  "split_name": "NanoNFCorpus",
77
  "queries": 50,
78
  "corpus": 2953,
79
- "qrels": 1651,
80
- "forced_doc_count": 1397,
81
- "bm25_ndcg_at_10": 0.32430076432568067,
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": 1818,
81
+ "bm25_ndcg_at_10": 0.2663451597846342,
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": "wordseg",
18
  "tokenizer_name": "th",
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": "th",
26
  "auto_detection_language_counts": {
@@ -28,21 +30,55 @@
28
  },
29
  "auto_detection_sample_size": 10
30
  },
31
- "ndcg_at_10": 0.32430076432568067,
 
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": 48,
44
- "forced_doc_count": 1397,
45
  "missing_positive_doc_count_after_forcing": 0,
46
- "rebuilt_at_utc": "2026-05-19T01:35:43.224847+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": "wordseg",
20
  "tokenizer_name": "th",
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": "th",
28
  "auto_detection_language_counts": {
 
30
  },
31
  "auto_detection_sample_size": 10
32
  },
33
+ "ndcg_at_10": 0.2663451597846342,
34
+ "recall_at_100": 0.18364903750285236,
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": 47,
47
+ "forced_doc_count": 1818,
48
  "missing_positive_doc_count_after_forcing": 0,
49
+ "rebuilt_at_utc": "2026-06-07T22:41:50.249844+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.24094354685895156,
54
+ "recall_at_100": 0.21059042279243023,
55
+ "candidate_coverage": {
56
+ "top_k": 500,
57
+ "query_count": 50,
58
+ "query_with_relevance_count": 50,
59
+ "covered_query_count": 47,
60
+ "query_coverage": 0.94,
61
+ "relevant_count": 2518,
62
+ "covered_relevant_count": 782,
63
+ "relevant_coverage": 0.31056393963463064
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.27426706085714764,
71
+ "recall_at_100": 0.2549465786729181,
72
+ "candidate_coverage": {
73
+ "top_k": 100,
74
+ "query_count": 50,
75
+ "query_with_relevance_count": 50,
76
+ "covered_query_count": 44,
77
+ "query_coverage": 0.88,
78
+ "relevant_count": 2518,
79
+ "covered_relevant_count": 400,
80
+ "relevant_coverage": 0.15885623510722796
81
+ },
82
+ "safeguard_positive_count": 6
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:e96ef11ef29f9c964d935962009077fa1b0a3472ad86647ef250c23c6bfed515
3
- size 61929
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8489a3029dae1e609540bdbb8369778b310f09c81ebfd2a95de42dee3725d0aa
3
+ size 61885