File size: 9,145 Bytes
d3f3f90 |
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 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 |
---
license: apache-2.0
configs:
- config_name: aidayago2
data_files:
- split: train
path: aidayago2/train-*
- split: validation
path: aidayago2/validation-*
- split: test
path: aidayago2/test-*
- config_name: blink
data_files:
- split: train
path: blink/train-*
- config_name: cweb
data_files:
- split: validation
path: cweb/validation-*
- split: test
path: cweb/test-*
- config_name: eli5
data_files:
- split: train
path: eli5/train-*
- split: validation
path: eli5/validation-*
- split: test
path: eli5/test-*
- config_name: fever
data_files:
- split: train
path: fever/train-*
- split: validation
path: fever/validation-*
- split: test
path: fever/test-*
- config_name: hotpotqa
data_files:
- split: train
path: hotpotqa/train-*
- split: validation
path: hotpotqa/validation-*
- split: test
path: hotpotqa/test-*
- config_name: nq
data_files:
- split: train
path: nq/train-*
- split: validation
path: nq/validation-*
- split: test
path: nq/test-*
- config_name: structured_zeroshot
data_files:
- split: train
path: structured_zeroshot/train-*
- split: validation
path: structured_zeroshot/validation-*
- split: test
path: structured_zeroshot/test-*
- config_name: trex
data_files:
- split: train
path: trex/train-*
- split: validation
path: trex/validation-*
- split: test
path: trex/test-*
- config_name: triviaqa
data_files:
- split: train
path: triviaqa/train-*
- split: validation
path: triviaqa/validation-*
- split: test
path: triviaqa/test-*
- config_name: wned
data_files:
- split: validation
path: wned/validation-*
- split: test
path: wned/test-*
- config_name: wow
data_files:
- split: train
path: wow/train-*
- split: validation
path: wow/validation-*
- split: test
path: wow/test-*
dataset_info:
- config_name: aidayago2
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 55864609
num_examples: 18395
- name: validation
num_bytes: 15955325
num_examples: 4784
- name: test
num_bytes: 12471688
num_examples: 4463
download_size: 18666928
dataset_size: 84291622
- config_name: blink
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 175321157
num_examples: 100000
download_size: 111935980
dataset_size: 175321157
- config_name: cweb
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: validation
num_bytes: 51475085
num_examples: 5599
- name: test
num_bytes: 56279580
num_examples: 5543
download_size: 23161761
dataset_size: 107754665
- config_name: eli5
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 609110956
num_examples: 200000
- name: validation
num_bytes: 12214766
num_examples: 1507
- name: test
num_bytes: 769699
num_examples: 600
download_size: 381533571
dataset_size: 622095421
- config_name: fever
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 130671464
num_examples: 104966
- name: validation
num_bytes: 13054824
num_examples: 10444
- name: test
num_bytes: 12535921
num_examples: 10100
download_size: 86214810
dataset_size: 156262209
- config_name: hotpotqa
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 118290457
num_examples: 88869
- name: validation
num_bytes: 7385175
num_examples: 5600
- name: test
num_bytes: 7236506
num_examples: 5569
download_size: 92994403
dataset_size: 132912138
- config_name: nq
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 111181156
num_examples: 87372
- name: validation
num_bytes: 3699165
num_examples: 2837
- name: test
num_bytes: 1805683
num_examples: 1444
download_size: 73218512
dataset_size: 116686004
- config_name: structured_zeroshot
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 188554112
num_examples: 147909
- name: validation
num_bytes: 4754817
num_examples: 3724
- name: test
num_bytes: 6242056
num_examples: 4966
download_size: 128366579
dataset_size: 199550985
- config_name: trex
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 267341864
num_examples: 200000
- name: validation
num_bytes: 6672336
num_examples: 5000
- name: test
num_bytes: 6292578
num_examples: 5000
download_size: 205161484
dataset_size: 280306778
- config_name: triviaqa
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 112256098
num_examples: 61817
- name: validation
num_bytes: 9990772
num_examples: 5355
- name: test
num_bytes: 8343733
num_examples: 6578
download_size: 75758558
dataset_size: 130590603
- config_name: wned
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: validation
num_bytes: 10296438
num_examples: 3396
- name: test
num_bytes: 10594837
num_examples: 3376
download_size: 6055450
dataset_size: 20891275
- config_name: wow
features:
- name: query
dtype: string
- name: query_id
dtype: string
- name: answers
sequence: string
- name: context_doc_ids
sequence: string
splits:
- name: train
num_bytes: 108554875
num_examples: 63734
- name: validation
num_bytes: 5183194
num_examples: 3054
- name: test
num_bytes: 4704307
num_examples: 2944
download_size: 63159586
dataset_size: 118442376
---
# KILT Benchmark with Top-k Retrieval Results
This dataset is a modified version of the [KILT Benchmark](https://github.com/facebookresearch/KILT) from the paper "KILT: a benchmark for knowledge intensive language tasks". It includes additional top-k retrieval results used in the paper "[Chain-of-Retrieval Augmented Generation](https://arxiv.org/pdf/2501.14342)".
## Differences from the Original KILT Dataset
The primary difference is the addition of the `context_doc_ids` field. This field provides the IDs of the top-k documents retrieved during the CoRAG experiments. You can use these IDs to retrieve the corresponding document content from the `corag/kilt-corpus` dataset at [https://huggingface.co/datasets/corag/kilt-corpus](https://huggingface.co/datasets/corag/kilt-corpus).
## Fields
- `query_id`: The ID of the query.
- `query`: The text of the query.
- `answers`: The answers to the query.
- `context_doc_ids`: The IDs of the top-k documents retrieved for the query.
## Usage
To use this dataset, you can load it using the Hugging Face `datasets` library:
```python
from datasets import load_dataset
dataset = load_dataset("corag/kilt", "hotpotqa", split="train")
print(dataset)
print(dataset[0])
```
## Caveats
1. Due to issues with ID mapping, a small number of questions are missing from the TriviaQA dataset. However, this is expected to have a negligible impact on overall evaluation metrics.
## References
```
@inproceedings{petroni2021kilt,
title={KILT: a benchmark for knowledge intensive language tasks},
author={Petroni, Fabio and Lewis, Patrick and Rockt{\"a}schel, Tim and Riedel, Sebastian and Yih, Wen-tau},
booktitle={Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
pages={1113--1131},
year={2021}
}
@article{wang2025chain,
title={Chain-of-Retrieval Augmented Generation},
author={Wang, Liang and Chen, Haonan and Yang, Nan and Huang, Xiaolong and Dou, Zhicheng and Wei, Furu},
journal={arXiv preprint arXiv:2501.14342},
year={2025}
}
```
|