Datasets:
File size: 10,888 Bytes
e95d519 c171920 fef5111 c171920 fef5111 c171920 fef5111 c171920 fef5111 c171920 fef5111 c171920 fef5111 8c8d144 e95d519 f2613e2 44bbc25 8c8d144 795e4c5 e95d519 f3fdd80 c171920 2796bcb c171920 2796bcb c171920 2796bcb c171920 2796bcb c171920 2796bcb f3fdd80 e95d519 2796bcb e95d519 2796bcb e95d519 2796bcb e95d519 2796bcb e95d519 2796bcb f3fdd80 f2613e2 2796bcb f2613e2 2796bcb f2613e2 2796bcb f2613e2 2796bcb f2613e2 2796bcb f3fdd80 44bbc25 2796bcb 44bbc25 2796bcb 44bbc25 2796bcb 44bbc25 2796bcb 44bbc25 2796bcb f3fdd80 8c8d144 2796bcb 8c8d144 2796bcb 8c8d144 2796bcb 8c8d144 2796bcb 8c8d144 2796bcb 795e4c5 2796bcb 795e4c5 2796bcb 795e4c5 2796bcb 795e4c5 2796bcb 795e4c5 2796bcb f3fdd80 e95d519 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 f3fdd80 3eb37d8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | ---
dataset_info:
- config_name: bm25
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: NanoBIRCOArguAna
num_bytes: 1870651
num_examples: 98
- name: NanoBIRCOClinicalTrial
num_bytes: 375683
num_examples: 50
- name: NanoBIRCODorisMae
num_bytes: 349544
num_examples: 60
- name: NanoBIRCORelic
num_bytes: 637332
num_examples: 100
- name: NanoBIRCOWTB
num_bytes: 763230
num_examples: 100
download_size: 4001233
dataset_size: 3996440
- config_name: corpus
features:
- name: _id
dtype: string
- name: text
dtype: string
splits:
- name: NanoBIRCOArguAna
num_bytes: 3661676
num_examples: 3081
- name: NanoBIRCOClinicalTrial
num_bytes: 4029445
num_examples: 3375
- name: NanoBIRCODorisMae
num_bytes: 6851909
num_examples: 5544
- name: NanoBIRCORelic
num_bytes: 2483080
num_examples: 5023
- name: NanoBIRCOWTB
num_bytes: 1968736
num_examples: 1766
download_size: 9995334
dataset_size: 18994846
- config_name: harrier_oss_v1_270m
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: NanoBIRCOArguAna
num_bytes: 1846893
num_examples: 98
- name: NanoBIRCOClinicalTrial
num_bytes: 375683
num_examples: 50
- name: NanoBIRCODorisMae
num_bytes: 349899
num_examples: 60
- name: NanoBIRCORelic
num_bytes: 638600
num_examples: 100
- name: NanoBIRCOWTB
num_bytes: 762147
num_examples: 100
download_size: 3978069
dataset_size: 3973222
- config_name: qrels
features:
- name: query-id
dtype: string
- name: corpus-id
dtype: string
splits:
- name: NanoBIRCOArguAna
num_bytes: 6906
num_examples: 98
- name: NanoBIRCOClinicalTrial
num_bytes: 25649
num_examples: 1042
- name: NanoBIRCODorisMae
num_bytes: 30824
num_examples: 1569
- name: NanoBIRCORelic
num_bytes: 2318
num_examples: 100
- name: NanoBIRCOWTB
num_bytes: 3262
num_examples: 100
download_size: 34194
dataset_size: 68959
- config_name: queries
features:
- name: _id
dtype: string
- name: text
dtype: string
splits:
- name: NanoBIRCOArguAna
num_bytes: 114584
num_examples: 98
- name: NanoBIRCOClinicalTrial
num_bytes: 25534
num_examples: 50
- name: NanoBIRCODorisMae
num_bytes: 60464
num_examples: 60
- name: NanoBIRCORelic
num_bytes: 103108
num_examples: 100
- name: NanoBIRCOWTB
num_bytes: 83407
num_examples: 100
download_size: 255948
dataset_size: 387097
- config_name: reranking_hybrid
features:
- name: query-id
dtype: string
- name: corpus-ids
list: string
splits:
- name: NanoBIRCOArguAna
num_bytes: 373151
num_examples: 98
- name: NanoBIRCOClinicalTrial
num_bytes: 75698
num_examples: 50
- name: NanoBIRCODorisMae
num_bytes: 70586
num_examples: 60
- name: NanoBIRCORelic
num_bytes: 129194
num_examples: 100
- name: NanoBIRCOWTB
num_bytes: 154507
num_examples: 100
download_size: 807492
dataset_size: 803136
configs:
- config_name: corpus
data_files:
- split: NanoBIRCOArguAna
path: corpus/NanoBIRCOArguAna-00000-of-00001.parquet
- split: NanoBIRCOClinicalTrial
path: corpus/NanoBIRCOClinicalTrial-00000-of-00001.parquet
- split: NanoBIRCODorisMae
path: corpus/NanoBIRCODorisMae-00000-of-00001.parquet
- split: NanoBIRCORelic
path: corpus/NanoBIRCORelic-00000-of-00001.parquet
- split: NanoBIRCOWTB
path: corpus/NanoBIRCOWTB-00000-of-00001.parquet
- config_name: queries
data_files:
- split: NanoBIRCOArguAna
path: queries/NanoBIRCOArguAna-00000-of-00001.parquet
- split: NanoBIRCOClinicalTrial
path: queries/NanoBIRCOClinicalTrial-00000-of-00001.parquet
- split: NanoBIRCODorisMae
path: queries/NanoBIRCODorisMae-00000-of-00001.parquet
- split: NanoBIRCORelic
path: queries/NanoBIRCORelic-00000-of-00001.parquet
- split: NanoBIRCOWTB
path: queries/NanoBIRCOWTB-00000-of-00001.parquet
default: true
- config_name: qrels
data_files:
- split: NanoBIRCOArguAna
path: qrels/NanoBIRCOArguAna-00000-of-00001.parquet
- split: NanoBIRCOClinicalTrial
path: qrels/NanoBIRCOClinicalTrial-00000-of-00001.parquet
- split: NanoBIRCODorisMae
path: qrels/NanoBIRCODorisMae-00000-of-00001.parquet
- split: NanoBIRCORelic
path: qrels/NanoBIRCORelic-00000-of-00001.parquet
- split: NanoBIRCOWTB
path: qrels/NanoBIRCOWTB-00000-of-00001.parquet
- config_name: bm25
data_files:
- split: NanoBIRCOArguAna
path: bm25/NanoBIRCOArguAna-00000-of-00001.parquet
- split: NanoBIRCOClinicalTrial
path: bm25/NanoBIRCOClinicalTrial-00000-of-00001.parquet
- split: NanoBIRCODorisMae
path: bm25/NanoBIRCODorisMae-00000-of-00001.parquet
- split: NanoBIRCORelic
path: bm25/NanoBIRCORelic-00000-of-00001.parquet
- split: NanoBIRCOWTB
path: bm25/NanoBIRCOWTB-00000-of-00001.parquet
- config_name: harrier_oss_v1_270m
data_files:
- split: NanoBIRCOArguAna
path: harrier_oss_v1_270m/NanoBIRCOArguAna-00000-of-00001.parquet
- split: NanoBIRCOClinicalTrial
path: harrier_oss_v1_270m/NanoBIRCOClinicalTrial-00000-of-00001.parquet
- split: NanoBIRCODorisMae
path: harrier_oss_v1_270m/NanoBIRCODorisMae-00000-of-00001.parquet
- split: NanoBIRCORelic
path: harrier_oss_v1_270m/NanoBIRCORelic-00000-of-00001.parquet
- split: NanoBIRCOWTB
path: harrier_oss_v1_270m/NanoBIRCOWTB-00000-of-00001.parquet
- config_name: reranking_hybrid
data_files:
- split: NanoBIRCOArguAna
path: reranking_hybrid/NanoBIRCOArguAna-00000-of-00001.parquet
- split: NanoBIRCOClinicalTrial
path: reranking_hybrid/NanoBIRCOClinicalTrial-00000-of-00001.parquet
- split: NanoBIRCODorisMae
path: reranking_hybrid/NanoBIRCODorisMae-00000-of-00001.parquet
- split: NanoBIRCORelic
path: reranking_hybrid/NanoBIRCORelic-00000-of-00001.parquet
- split: NanoBIRCOWTB
path: reranking_hybrid/NanoBIRCOWTB-00000-of-00001.parquet
tags:
- information-retrieval
- retrieval
- nano
- bm25
- dense-retrieval
- reranking
- hakari-bench
---
# NanoBIRCO
This dataset is a Nano-style retrieval dataset for [HAKARI-bench](https://github.com/hakari-bench/hakari-bench).
NanoBIRCO contains 5 Nano retrieval splits derived from BIRCO. 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.
## Usage
```python
from datasets import load_dataset
dataset_id = "hakari-bench/NanoBIRCO"
split = "NanoBIRCOArguAna"
queries = load_dataset(dataset_id, "queries", split=split)
corpus = load_dataset(dataset_id, "corpus", split=split)
qrels = load_dataset(dataset_id, "qrels", split=split)
reranking_candidates = load_dataset(dataset_id, "reranking_hybrid", split=split)
```
## Data Layout
This dataset uses six Hugging Face Datasets configs:
- `corpus`: documents with `_id` and `text`
- `queries`: queries with `_id` and `text`
- `qrels`: positive relevance labels with `query-id` and `corpus-id`
- `bm25`: BM25 candidate lists with `query-id` and `corpus-ids`
- `harrier_oss_v1_270m`: dense candidate lists from `microsoft/harrier-oss-v1-270m`
- `reranking_hybrid`: RRF candidate lists built from `bm25` and `harrier_oss_v1_270m`
Each config has the same Nano split names.
## Candidate Construction
- `bm25`: local BM25 top-500 with automatic language-aware tokenization. The resolved tokenizer is shown in the Candidate Quality table, for example `wordseg@ja`.
- `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.
- `reranking_hybrid`: RRF over `bm25` and `harrier_oss_v1_270m` using `rrf_k=100`, keeping the RRF top-100.
Safeguard means rank 101 is appended only when RRF top-100 contains no qrels-positive document.
## Split Statistics
Length statistics are character counts computed with `len(str(text))`.
| Nano split | Queries | Corpus | Qrels | Query chars avg | Query chars p50 | Query chars p75 | Doc chars avg | Doc chars p50 | Doc chars p75 |
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
| NanoBIRCOArguAna | 98 | 3081 | 98 | 1124.0 | 1101.5 | 1410.2 | 1140.1 | 1082.0 | 1445.0 |
| NanoBIRCOClinicalTrial | 50 | 3375 | 1042 | 497.0 | 438.5 | 558.8 | 1174.3 | 1421.0 | 1579.0 |
| NanoBIRCODorisMae | 60 | 5544 | 1569 | 995.5 | 993.5 | 1095.5 | 1220.3 | 1208.5 | 1431.0 |
| NanoBIRCORelic | 100 | 5023 | 100 | 1016.3 | 1054.0 | 1144.5 | 477.3 | 438.0 | 627.0 |
| NanoBIRCOWTB | 100 | 1766 | 100 | 811.3 | 788.5 | 954.8 | 1091.2 | 1108.0 | 1269.8 |
## Candidate Quality
`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`.
Dense means `microsoft/harrier-oss-v1-270m` with the `web_search_query` prompt and cosine similarity.
| 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 |
|---|---|---:|---:|---:|---:|---:|---:|---:|---:|
| Mean | - | 26.93 | 29.59 | 31.11 | 63.53 | 70.96 | 73.38 | - | 66 |
| NanoBIRCOArguAna | english_porter_stop | 42.93 | 50.62 | 49.32 | 97.96 | 97.96 | 100.00 | 100 | 0 |
| NanoBIRCOClinicalTrial | english_porter_stop | 13.22 | 21.52 | 19.59 | 31.03 | 48.52 | 45.61 | 100-101 | 1 |
| NanoBIRCODorisMae | english_porter_stop | 38.66 | 41.40 | 40.12 | 70.68 | 72.34 | 80.30 | 100-101 | 6 |
| NanoBIRCORelic | english_porter_stop | 13.14 | 7.25 | 12.76 | 59.00 | 66.00 | 69.00 | 100-101 | 31 |
| NanoBIRCOWTB | english_porter_stop | 26.69 | 27.14 | 33.76 | 59.00 | 70.00 | 72.00 | 100-101 | 28 |
## Hybrid Safeguard Summary
- Safeguard positives: 66
- Rows limited by corpus size: 0
- Metadata file: `reranking_hybrid_metadata.json`
## Source Links
- Source benchmark: `BIRCO`
- Source benchmark repository: https://github.com/embeddings-benchmark/mteb
- `mteb/BIRCO-ArguAna-Test`: https://huggingface.co/datasets/mteb/BIRCO-ArguAna-Test
- `mteb/BIRCO-ClinicalTrial-Test`: https://huggingface.co/datasets/mteb/BIRCO-ClinicalTrial-Test
- `mteb/BIRCO-DorisMae-Test`: https://huggingface.co/datasets/mteb/BIRCO-DorisMae-Test
- `mteb/BIRCO-Relic-Test`: https://huggingface.co/datasets/mteb/BIRCO-Relic-Test
- `mteb/BIRCO-WTB-Test`: https://huggingface.co/datasets/mteb/BIRCO-WTB-Test
## License
NanoBIRCO is a derived dataset. Users must comply with the licenses, terms, and attribution requirements of the upstream datasets and benchmarks.
|