hotchpotch commited on
Commit
d3f2a9f
·
verified ·
1 Parent(s): 90e1880

Update dataset README for reranking_hybrid candidates

Browse files
Files changed (1) hide show
  1. README.md +139 -131
README.md CHANGED
@@ -1,113 +1,114 @@
1
  ---
2
  configs:
3
- - config_name: bm25
4
  data_files:
5
- - split: NanoR2MEDBiology
6
- path: bm25/NanoR2MEDBiology-*
7
  - split: NanoR2MEDBioinformatics
8
- path: bm25/NanoR2MEDBioinformatics-*
9
- - split: NanoR2MEDMedicalSciences
10
- path: bm25/NanoR2MEDMedicalSciences-*
11
- - split: NanoR2MEDMedXpertQAExam
12
- path: bm25/NanoR2MEDMedXpertQAExam-*
13
  - split: NanoR2MEDMedQADiag
14
- path: bm25/NanoR2MEDMedQADiag-*
15
- - split: NanoR2MEDPMCTreatment
16
- path: bm25/NanoR2MEDPMCTreatment-*
 
 
17
  - split: NanoR2MEDPMCClinical
18
- path: bm25/NanoR2MEDPMCClinical-*
19
- - split: NanoR2MEDIIYiClinical
20
- path: bm25/NanoR2MEDIIYiClinical-*
21
- - config_name: corpus
22
  data_files:
23
- - split: NanoR2MEDBiology
24
- path: corpus/NanoR2MEDBiology-*
25
  - split: NanoR2MEDBioinformatics
26
- path: corpus/NanoR2MEDBioinformatics-*
27
- - split: NanoR2MEDMedicalSciences
28
- path: corpus/NanoR2MEDMedicalSciences-*
29
- - split: NanoR2MEDMedXpertQAExam
30
- path: corpus/NanoR2MEDMedXpertQAExam-*
31
  - split: NanoR2MEDMedQADiag
32
- path: corpus/NanoR2MEDMedQADiag-*
33
- - split: NanoR2MEDPMCTreatment
34
- path: corpus/NanoR2MEDPMCTreatment-*
 
 
35
  - split: NanoR2MEDPMCClinical
36
- path: corpus/NanoR2MEDPMCClinical-*
37
- - split: NanoR2MEDIIYiClinical
38
- path: corpus/NanoR2MEDIIYiClinical-*
39
- - config_name: harrier_oss_v1_270m
 
40
  data_files:
41
  - split: NanoR2MEDBioinformatics
42
- path: harrier_oss_v1_270m/NanoR2MEDBioinformatics-*
43
  - split: NanoR2MEDBiology
44
- path: harrier_oss_v1_270m/NanoR2MEDBiology-*
45
  - split: NanoR2MEDIIYiClinical
46
- path: harrier_oss_v1_270m/NanoR2MEDIIYiClinical-*
47
  - split: NanoR2MEDMedQADiag
48
- path: harrier_oss_v1_270m/NanoR2MEDMedQADiag-*
49
  - split: NanoR2MEDMedXpertQAExam
50
- path: harrier_oss_v1_270m/NanoR2MEDMedXpertQAExam-*
51
  - split: NanoR2MEDMedicalSciences
52
- path: harrier_oss_v1_270m/NanoR2MEDMedicalSciences-*
53
  - split: NanoR2MEDPMCClinical
54
- path: harrier_oss_v1_270m/NanoR2MEDPMCClinical-*
55
  - split: NanoR2MEDPMCTreatment
56
- path: harrier_oss_v1_270m/NanoR2MEDPMCTreatment-*
57
- - config_name: qrels
58
  data_files:
59
- - split: NanoR2MEDBiology
60
- path: qrels/NanoR2MEDBiology-*
61
  - split: NanoR2MEDBioinformatics
62
- path: qrels/NanoR2MEDBioinformatics-*
63
- - split: NanoR2MEDMedicalSciences
64
- path: qrels/NanoR2MEDMedicalSciences-*
65
- - split: NanoR2MEDMedXpertQAExam
66
- path: qrels/NanoR2MEDMedXpertQAExam-*
67
  - split: NanoR2MEDMedQADiag
68
- path: qrels/NanoR2MEDMedQADiag-*
69
- - split: NanoR2MEDPMCTreatment
70
- path: qrels/NanoR2MEDPMCTreatment-*
 
 
71
  - split: NanoR2MEDPMCClinical
72
- path: qrels/NanoR2MEDPMCClinical-*
73
- - split: NanoR2MEDIIYiClinical
74
- path: qrels/NanoR2MEDIIYiClinical-*
75
- - config_name: queries
76
  data_files:
77
- - split: NanoR2MEDBiology
78
- path: NanoR2MEDBiology/queries/test.parquet
79
  - split: NanoR2MEDBioinformatics
80
- path: NanoR2MEDBioinformatics/queries/test.parquet
81
- - split: NanoR2MEDMedicalSciences
82
- path: NanoR2MEDMedicalSciences/queries/test.parquet
83
- - split: NanoR2MEDMedXpertQAExam
84
- path: NanoR2MEDMedXpertQAExam/queries/test.parquet
85
  - split: NanoR2MEDMedQADiag
86
- path: NanoR2MEDMedQADiag/queries/test.parquet
87
- - split: NanoR2MEDPMCTreatment
88
- path: NanoR2MEDPMCTreatment/queries/test.parquet
 
 
89
  - split: NanoR2MEDPMCClinical
90
- path: NanoR2MEDPMCClinical/queries/test.parquet
91
- - split: NanoR2MEDIIYiClinical
92
- path: NanoR2MEDIIYiClinical/queries/test.parquet
93
  - config_name: reranking_hybrid
94
  data_files:
95
  - split: NanoR2MEDBioinformatics
96
- path: reranking_hybrid/NanoR2MEDBioinformatics-*
97
  - split: NanoR2MEDBiology
98
- path: reranking_hybrid/NanoR2MEDBiology-*
99
  - split: NanoR2MEDIIYiClinical
100
- path: reranking_hybrid/NanoR2MEDIIYiClinical-*
101
  - split: NanoR2MEDMedQADiag
102
- path: reranking_hybrid/NanoR2MEDMedQADiag-*
103
  - split: NanoR2MEDMedXpertQAExam
104
- path: reranking_hybrid/NanoR2MEDMedXpertQAExam-*
105
  - split: NanoR2MEDMedicalSciences
106
- path: reranking_hybrid/NanoR2MEDMedicalSciences-*
107
  - split: NanoR2MEDPMCClinical
108
- path: reranking_hybrid/NanoR2MEDPMCClinical-*
109
  - split: NanoR2MEDPMCTreatment
110
- path: reranking_hybrid/NanoR2MEDPMCTreatment-*
111
  language:
112
  - en
113
  tags:
@@ -115,6 +116,9 @@ tags:
115
  - retrieval
116
  - nano
117
  - bm25
 
 
 
118
  dataset_info:
119
  - config_name: bm25
120
  features:
@@ -315,93 +319,97 @@ dataset_info:
315
  download_size: 2066678
316
  dataset_size: 2057209
317
  ---
318
-
319
  # NanoR2MED
320
 
321
- This dataset is a Nano-style retrieval dataset. Nano-series evaluation can be run easily with the [HAKARI-Bench](https://github.com/hotchpotch/hakari-bench).
322
-
323
- NanoR2MED is derived from R2MED. It follows the Hugging Face Datasets layout convention used by [sentence-transformers/NanoBEIR-en](https://huggingface.co/datasets/sentence-transformers/NanoBEIR-en): each Nano split has separate `corpus`, `queries`, and `qrels` tables, and BM25 candidates are provided separately in a `bm25` table. This layout follows the NanoBEIR-style evaluation approach summarized in [NanoBEIR](https://huggingface.co/blog/sionic-ai/eval-sionic-nano-beir).
324
 
325
  NanoR2MED contains 8 Nano retrieval splits derived from R2MED. Each split keeps up to 200 eligible queries and up to 10000 corpus documents, with exact duplicate query and document text removed where the generator records that policy.
326
 
327
- ## Source Links
328
 
329
- - Source benchmark: `R2MED`
330
- - `R2MED/Bioinformatics`: https://huggingface.co/datasets/R2MED/Bioinformatics
331
- - `R2MED/Biology`: https://huggingface.co/datasets/R2MED/Biology
332
- - `R2MED/IIYi-Clinical`: https://huggingface.co/datasets/R2MED/IIYi-Clinical
333
- - `R2MED/MedQA-Diag`: https://huggingface.co/datasets/R2MED/MedQA-Diag
334
- - `R2MED/MedXpertQA-Exam`: https://huggingface.co/datasets/R2MED/MedXpertQA-Exam
335
- - `R2MED/Medical-Sciences`: https://huggingface.co/datasets/R2MED/Medical-Sciences
336
- - `R2MED/PMC-Clinical`: https://huggingface.co/datasets/R2MED/PMC-Clinical
337
- - `R2MED/PMC-Treatment`: https://huggingface.co/datasets/R2MED/PMC-Treatment
 
 
338
 
339
  ## Data Layout
340
 
341
- This dataset uses four Hugging Face Datasets configs:
342
 
343
  - `corpus`: documents with `_id` and `text`
344
  - `queries`: queries with `_id` and `text`
345
  - `qrels`: positive relevance labels with `query-id` and `corpus-id`
346
  - `bm25`: BM25 candidate lists with `query-id` and `corpus-ids`
 
 
347
 
348
- Each config uses the same Nano split names. If the actual generated dataset uses a different schema, config name, path layout, or field name, revise this section before publishing the README.
349
 
350
- ## Construction Steps
351
 
352
- This dataset was built as follows. If the actual generation procedure differs, revise this section before publishing the README.
 
 
353
 
354
- 1. Use R2MED as the upstream benchmark or dataset family.
355
- 2. Load the source datasets recorded in `manifest.json` and per-split metadata files.
356
- 3. Use the source benchmark evaluation split, preferring `test` when available as the source evaluation split policy.
357
- 4. Create one Nano split for each selected source retrieval task.
358
- 5. Keep up to 200 eligible queries per Nano split.
359
- 6. Include qrels-positive documents for the selected queries.
360
- 7. Fill the corpus from source corpus order up to 10000 documents.
361
- 8. Remove exact duplicate document text within each split. If a removed duplicate was referenced by qrels, rewrite qrels to the kept document id when the generator records that policy.
362
- 9. Store document title and body as a single `text` field when the source provides both.
363
- 10. Generate BM25 top-100 candidates with the tokenization policy recorded per split.
364
- 11. If a qrels-positive document is missing from the raw BM25 result, insert it into the final `bm25` candidate list by replacing a tail non-positive candidate.
365
 
366
- ## BM25 Subset Policy
367
 
368
- The `bm25` config is a candidate subset for first-stage retrieval and reranking. It is not a separate source dataset. Each row contains one query id and a ranked list of corpus ids.
369
 
370
- BM25 candidates are generated from the selected corpus for each split. The configured candidate cap is top-100. When a qrels-positive document is not present in the raw BM25 result, the missing positive is forced into the final candidate list by replacing a tail candidate that is not positive for that query. Candidate ids are kept unique after replacement.
 
 
 
 
 
 
 
 
 
371
 
372
- ## Split Mapping
373
 
374
- | Nano split | Source task | Source dataset | Queries | Corpus | Qrels |
375
- |---|---|---|---:|---:|---:|
376
- | `NanoR2MEDBiology` | `R2MEDBiologyRetrieval` | `R2MED/Biology` | 103 | 10000 | 374 |
377
- | `NanoR2MEDBioinformatics` | `R2MEDBioinformaticsRetrieval` | `R2MED/Bioinformatics` | 77 | 10000 | 226 |
378
- | `NanoR2MEDMedicalSciences` | `R2MEDMedicalSciencesRetrieval` | `R2MED/Medical-Sciences` | 88 | 10000 | 244 |
379
- | `NanoR2MEDMedXpertQAExam` | `R2MEDMedXpertQAExamRetrieval` | `R2MED/MedXpertQA-Exam` | 97 | 10000 | 292 |
380
- | `NanoR2MEDMedQADiag` | `R2MEDMedQADiagRetrieval` | `R2MED/MedQA-Diag` | 118 | 10000 | 522 |
381
- | `NanoR2MEDPMCTreatment` | `R2MEDPMCTreatmentRetrieval` | `R2MED/PMC-Treatment` | 150 | 10000 | 315 |
382
- | `NanoR2MEDPMCClinical` | `R2MEDPMCClinicalRetrieval` | `R2MED/PMC-Clinical` | 114 | 10000 | 248 |
383
- | `NanoR2MEDIIYiClinical` | `R2MEDIIYiClinicalRetrieval` | `R2MED/IIYi-Clinical` | 129 | 10000 | 457 |
384
 
385
- ## BM25 nDCG@10
386
 
387
- `nDCG@10` is computed from the included BM25 ranking against the included qrels.
 
 
 
 
 
 
 
 
 
 
388
 
389
- Tokenizer policy summary: `stemmer:en`.
390
 
391
- | Nano split | Tokenizer | Forced BM25 positives | BM25 nDCG@10 |
392
- |---|---|---:|---:|
393
- | `NanoR2MEDBiology` | `stemmer:en` | 167 | 0.2513 |
394
- | `NanoR2MEDBioinformatics` | `stemmer:en` | 111 | 0.1786 |
395
- | `NanoR2MEDMedicalSciences` | `stemmer:en` | 138 | 0.1043 |
396
- | `NanoR2MEDMedXpertQAExam` | `stemmer:en` | 255 | 0.0245 |
397
- | `NanoR2MEDMedQADiag` | `stemmer:en` | 440 | 0.0281 |
398
- | `NanoR2MEDPMCTreatment` | `stemmer:en` | 186 | 0.0180 |
399
- | `NanoR2MEDPMCClinical` | `stemmer:en` | 63 | 0.3277 |
400
- | `NanoR2MEDIIYiClinical` | `stemmer:en` | 268 | 0.1246 |
401
 
402
- ## Skipped Tasks
403
 
404
- No source tasks were skipped.
 
 
 
 
 
 
 
 
405
 
406
  ## License
407
 
 
1
  ---
2
  configs:
3
+ - config_name: corpus
4
  data_files:
 
 
5
  - split: NanoR2MEDBioinformatics
6
+ path: corpus/NanoR2MEDBioinformatics.parquet
7
+ - split: NanoR2MEDBiology
8
+ path: corpus/NanoR2MEDBiology.parquet
9
+ - split: NanoR2MEDIIYiClinical
10
+ path: corpus/NanoR2MEDIIYiClinical.parquet
11
  - split: NanoR2MEDMedQADiag
12
+ path: corpus/NanoR2MEDMedQADiag.parquet
13
+ - split: NanoR2MEDMedXpertQAExam
14
+ path: corpus/NanoR2MEDMedXpertQAExam.parquet
15
+ - split: NanoR2MEDMedicalSciences
16
+ path: corpus/NanoR2MEDMedicalSciences.parquet
17
  - split: NanoR2MEDPMCClinical
18
+ path: corpus/NanoR2MEDPMCClinical.parquet
19
+ - split: NanoR2MEDPMCTreatment
20
+ path: corpus/NanoR2MEDPMCTreatment.parquet
21
+ - config_name: queries
22
  data_files:
 
 
23
  - split: NanoR2MEDBioinformatics
24
+ path: queries/NanoR2MEDBioinformatics.parquet
25
+ - split: NanoR2MEDBiology
26
+ path: queries/NanoR2MEDBiology.parquet
27
+ - split: NanoR2MEDIIYiClinical
28
+ path: queries/NanoR2MEDIIYiClinical.parquet
29
  - split: NanoR2MEDMedQADiag
30
+ path: queries/NanoR2MEDMedQADiag.parquet
31
+ - split: NanoR2MEDMedXpertQAExam
32
+ path: queries/NanoR2MEDMedXpertQAExam.parquet
33
+ - split: NanoR2MEDMedicalSciences
34
+ path: queries/NanoR2MEDMedicalSciences.parquet
35
  - split: NanoR2MEDPMCClinical
36
+ path: queries/NanoR2MEDPMCClinical.parquet
37
+ - split: NanoR2MEDPMCTreatment
38
+ path: queries/NanoR2MEDPMCTreatment.parquet
39
+ default: true
40
+ - config_name: qrels
41
  data_files:
42
  - split: NanoR2MEDBioinformatics
43
+ path: qrels/NanoR2MEDBioinformatics.parquet
44
  - split: NanoR2MEDBiology
45
+ path: qrels/NanoR2MEDBiology.parquet
46
  - split: NanoR2MEDIIYiClinical
47
+ path: qrels/NanoR2MEDIIYiClinical.parquet
48
  - split: NanoR2MEDMedQADiag
49
+ path: qrels/NanoR2MEDMedQADiag.parquet
50
  - split: NanoR2MEDMedXpertQAExam
51
+ path: qrels/NanoR2MEDMedXpertQAExam.parquet
52
  - split: NanoR2MEDMedicalSciences
53
+ path: qrels/NanoR2MEDMedicalSciences.parquet
54
  - split: NanoR2MEDPMCClinical
55
+ path: qrels/NanoR2MEDPMCClinical.parquet
56
  - split: NanoR2MEDPMCTreatment
57
+ path: qrels/NanoR2MEDPMCTreatment.parquet
58
+ - config_name: bm25
59
  data_files:
 
 
60
  - split: NanoR2MEDBioinformatics
61
+ path: bm25/NanoR2MEDBioinformatics.parquet
62
+ - split: NanoR2MEDBiology
63
+ path: bm25/NanoR2MEDBiology.parquet
64
+ - split: NanoR2MEDIIYiClinical
65
+ path: bm25/NanoR2MEDIIYiClinical.parquet
66
  - split: NanoR2MEDMedQADiag
67
+ path: bm25/NanoR2MEDMedQADiag.parquet
68
+ - split: NanoR2MEDMedXpertQAExam
69
+ path: bm25/NanoR2MEDMedXpertQAExam.parquet
70
+ - split: NanoR2MEDMedicalSciences
71
+ path: bm25/NanoR2MEDMedicalSciences.parquet
72
  - split: NanoR2MEDPMCClinical
73
+ path: bm25/NanoR2MEDPMCClinical.parquet
74
+ - split: NanoR2MEDPMCTreatment
75
+ path: bm25/NanoR2MEDPMCTreatment.parquet
76
+ - config_name: harrier_oss_v1_270m
77
  data_files:
 
 
78
  - split: NanoR2MEDBioinformatics
79
+ path: harrier_oss_v1_270m/NanoR2MEDBioinformatics.parquet
80
+ - split: NanoR2MEDBiology
81
+ path: harrier_oss_v1_270m/NanoR2MEDBiology.parquet
82
+ - split: NanoR2MEDIIYiClinical
83
+ path: harrier_oss_v1_270m/NanoR2MEDIIYiClinical.parquet
84
  - split: NanoR2MEDMedQADiag
85
+ path: harrier_oss_v1_270m/NanoR2MEDMedQADiag.parquet
86
+ - split: NanoR2MEDMedXpertQAExam
87
+ path: harrier_oss_v1_270m/NanoR2MEDMedXpertQAExam.parquet
88
+ - split: NanoR2MEDMedicalSciences
89
+ path: harrier_oss_v1_270m/NanoR2MEDMedicalSciences.parquet
90
  - split: NanoR2MEDPMCClinical
91
+ path: harrier_oss_v1_270m/NanoR2MEDPMCClinical.parquet
92
+ - split: NanoR2MEDPMCTreatment
93
+ path: harrier_oss_v1_270m/NanoR2MEDPMCTreatment.parquet
94
  - config_name: reranking_hybrid
95
  data_files:
96
  - split: NanoR2MEDBioinformatics
97
+ path: reranking_hybrid/NanoR2MEDBioinformatics.parquet
98
  - split: NanoR2MEDBiology
99
+ path: reranking_hybrid/NanoR2MEDBiology.parquet
100
  - split: NanoR2MEDIIYiClinical
101
+ path: reranking_hybrid/NanoR2MEDIIYiClinical.parquet
102
  - split: NanoR2MEDMedQADiag
103
+ path: reranking_hybrid/NanoR2MEDMedQADiag.parquet
104
  - split: NanoR2MEDMedXpertQAExam
105
+ path: reranking_hybrid/NanoR2MEDMedXpertQAExam.parquet
106
  - split: NanoR2MEDMedicalSciences
107
+ path: reranking_hybrid/NanoR2MEDMedicalSciences.parquet
108
  - split: NanoR2MEDPMCClinical
109
+ path: reranking_hybrid/NanoR2MEDPMCClinical.parquet
110
  - split: NanoR2MEDPMCTreatment
111
+ path: reranking_hybrid/NanoR2MEDPMCTreatment.parquet
112
  language:
113
  - en
114
  tags:
 
116
  - retrieval
117
  - nano
118
  - bm25
119
+ - dense-retrieval
120
+ - reranking
121
+ - hakari-bench
122
  dataset_info:
123
  - config_name: bm25
124
  features:
 
319
  download_size: 2066678
320
  dataset_size: 2057209
321
  ---
 
322
  # NanoR2MED
323
 
324
+ This dataset is a Nano-style retrieval dataset for [HAKARI-bench](https://github.com/hakari-bench/hakari-bench).
 
 
325
 
326
  NanoR2MED contains 8 Nano retrieval splits derived from R2MED. Each split keeps up to 200 eligible queries and up to 10000 corpus documents, with exact duplicate query and document text removed where the generator records that policy.
327
 
328
+ ## Usage
329
 
330
+ ```python
331
+ from datasets import load_dataset
332
+
333
+ dataset_id = "hakari-bench/NanoR2MED"
334
+ split = "NanoR2MEDBioinformatics"
335
+
336
+ queries = load_dataset(dataset_id, "queries", split=split)
337
+ corpus = load_dataset(dataset_id, "corpus", split=split)
338
+ qrels = load_dataset(dataset_id, "qrels", split=split)
339
+ reranking_candidates = load_dataset(dataset_id, "reranking_hybrid", split=split)
340
+ ```
341
 
342
  ## Data Layout
343
 
344
+ This dataset uses six Hugging Face Datasets configs:
345
 
346
  - `corpus`: documents with `_id` and `text`
347
  - `queries`: queries with `_id` and `text`
348
  - `qrels`: positive relevance labels with `query-id` and `corpus-id`
349
  - `bm25`: BM25 candidate lists with `query-id` and `corpus-ids`
350
+ - `harrier_oss_v1_270m`: dense candidate lists from `microsoft/harrier-oss-v1-270m`
351
+ - `reranking_hybrid`: RRF candidate lists built from `bm25` and `harrier_oss_v1_270m`
352
 
353
+ Each config has the same Nano split names.
354
 
355
+ ## Candidate Construction
356
 
357
+ - `bm25`: local BM25 top-500 with automatic language-aware tokenization. The resolved tokenizer is shown in the Candidate Quality table, for example `wordseg@ja`.
358
+ - `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.
359
+ - `reranking_hybrid`: RRF over `bm25` and `harrier_oss_v1_270m` using `rrf_k=100`, keeping the RRF top-100.
360
 
361
+ Safeguard means rank 101 is appended only when RRF top-100 contains no qrels-positive document.
 
 
 
 
 
 
 
 
 
 
362
 
363
+ ## Split Statistics
364
 
365
+ Length statistics are character counts computed with `len(str(text))`.
366
 
367
+ | Nano split | Queries | Corpus | Qrels | Query chars avg | Query chars p50 | Query chars p75 | Doc chars avg | Doc chars p50 | Doc chars p75 |
368
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
369
+ | NanoR2MEDBioinformatics | 77 | 10000 | 226 | 890.3 | 727.0 | 1016.0 | 666.8 | 679.0 | 798.0 |
370
+ | NanoR2MEDBiology | 103 | 10000 | 374 | 523.0 | 440.0 | 627.5 | 474.1 | 397.0 | 556.0 |
371
+ | NanoR2MEDIIYiClinical | 129 | 10000 | 457 | 2584.1 | 2523.0 | 3306.0 | 5042.3 | 4280.5 | 6809.5 |
372
+ | NanoR2MEDMedQADiag | 118 | 10000 | 522 | 706.7 | 630.0 | 884.0 | 791.4 | 882.0 | 989.0 |
373
+ | NanoR2MEDMedXpertQAExam | 97 | 10000 | 292 | 928.4 | 879.0 | 1086.0 | 723.9 | 767.0 | 922.0 |
374
+ | NanoR2MEDMedicalSciences | 88 | 10000 | 244 | 477.6 | 378.0 | 596.8 | 678.6 | 679.0 | 801.0 |
375
+ | NanoR2MEDPMCClinical | 114 | 10000 | 248 | 827.7 | 832.0 | 956.8 | 2103.5 | 2131.0 | 2724.0 |
376
+ | NanoR2MEDPMCTreatment | 150 | 10000 | 315 | 1755.8 | 1750.5 | 1980.8 | 726.6 | 608.0 | 928.0 |
377
 
378
+ ## Candidate Quality
379
 
380
+ `nDCG@10` and `Recall@100` are computed from the included candidate rankings against the included qrels, then reported as 0-100 scores such as `52.45`. `Recall@100` uses only the top 100 candidates; an optional rank-101 safeguard positive is not counted in `Recall@100`.
 
 
 
 
 
 
 
 
 
381
 
382
+ Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt and cosine similarity.
383
 
384
+ | 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 |
385
+ |---|---|---:|---:|---:|---:|---:|---:|---:|---:|
386
+ | Mean | - | 20.94 | 30.07 | 28.82 | 55.11 | 68.46 | 70.40 | - | 122 |
387
+ | NanoR2MEDBioinformatics | english_porter_stop | 21.89 | 34.25 | 26.23 | 67.34 | 75.92 | 80.48 | 100-101 | 6 |
388
+ | NanoR2MEDBiology | english_porter_stop | 34.55 | 49.53 | 47.22 | 70.56 | 82.57 | 85.61 | 100-101 | 3 |
389
+ | NanoR2MEDIIYiClinical | english_porter_stop | 14.82 | 18.70 | 19.75 | 47.30 | 66.15 | 67.21 | 100-101 | 14 |
390
+ | NanoR2MEDMedQADiag | english_porter_stop | 7.00 | 12.54 | 14.06 | 25.10 | 46.74 | 42.14 | 100-101 | 34 |
391
+ | NanoR2MEDMedXpertQAExam | english_porter_stop | 2.77 | 15.99 | 9.79 | 19.94 | 47.09 | 43.55 | 100-101 | 33 |
392
+ | NanoR2MEDMedicalSciences | english_porter_stop | 21.40 | 35.67 | 33.20 | 74.86 | 85.61 | 85.66 | 100-101 | 3 |
393
+ | NanoR2MEDPMCClinical | english_porter_stop | 39.33 | 35.84 | 44.77 | 81.58 | 76.61 | 86.48 | 100-101 | 6 |
394
+ | NanoR2MEDPMCTreatment | english_porter_stop | 25.80 | 38.01 | 35.55 | 54.18 | 66.97 | 72.04 | 100-101 | 23 |
395
 
396
+ ## Hybrid Safeguard Summary
397
 
398
+ - Safeguard positives: 122
399
+ - Rows limited by corpus size: 0
400
+ - Metadata file: `reranking_hybrid_metadata.json`
 
 
 
 
 
 
 
401
 
402
+ ## Source Links
403
 
404
+ - Source benchmark: `R2MED`
405
+ - `R2MED/Bioinformatics`: https://huggingface.co/datasets/R2MED/Bioinformatics
406
+ - `R2MED/Biology`: https://huggingface.co/datasets/R2MED/Biology
407
+ - `R2MED/IIYi-Clinical`: https://huggingface.co/datasets/R2MED/IIYi-Clinical
408
+ - `R2MED/MedQA-Diag`: https://huggingface.co/datasets/R2MED/MedQA-Diag
409
+ - `R2MED/MedXpertQA-Exam`: https://huggingface.co/datasets/R2MED/MedXpertQA-Exam
410
+ - `R2MED/Medical-Sciences`: https://huggingface.co/datasets/R2MED/Medical-Sciences
411
+ - `R2MED/PMC-Clinical`: https://huggingface.co/datasets/R2MED/PMC-Clinical
412
+ - `R2MED/PMC-Treatment`: https://huggingface.co/datasets/R2MED/PMC-Treatment
413
 
414
  ## License
415