Datasets:
File size: 9,872 Bytes
15aef25 95dd2b8 3960a85 c2606eb 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 e122bce aad6b46 8983693 aad6b46 8983693 aad6b46 d1ac5d5 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 8983693 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 d1ac5d5 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 d1ac5d5 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 d1ac5d5 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 d1ac5d5 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 d1ac5d5 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 d1ac5d5 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 d1ac5d5 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 95dd2b8 aad6b46 15aef25 5302ac5 15aef25 a405a65 15aef25 95dd2b8 d1ac5d5 95dd2b8 d1ac5d5 95dd2b8 8983693 d1ac5d5 8983693 95dd2b8 8983693 0404d07 95dd2b8 0404d07 95dd2b8 d1ac5d5 0404d07 95dd2b8 0404d07 95dd2b8 5302ac5 15aef25 95dd2b8 15aef25 5302ac5 15aef25 |
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 |
---
license: other
license_name: other
license_link: https://huggingface.co/datasets/microsoft/wiki_qa#licensing-information
task_categories:
- question-answering
language:
- en
- fr
- de
- it
- es
- pt
pretty_name: mWikiQA
size_categories:
- 100K<n<1M
configs:
- config_name: default
data_files:
- split: train_en
path: "eng_train.jsonl"
- split: train_de
path: "deu_train.jsonl"
- split: train_fr
path: "fra_train.jsonl"
- split: train_it
path: "ita_train.jsonl"
- split: train_po
path: "por_train.jsonl"
- split: train_sp
path: "spa_train.jsonl"
- split: validation_en
path: "eng_dev.jsonl"
- split: validation_de
path: "deu_dev.jsonl"
- split: validation_fr
path: "fra_dev.jsonl"
- split: validation_it
path: "ita_dev.jsonl"
- split: validation_po
path: "por_dev.jsonl"
- split: validation_sp
path: "spa_dev.jsonl"
- split: test_en
path: "eng_test.jsonl"
- split: test_de
path: "deu_test.jsonl"
- split: test_fr
path: "fra_test.jsonl"
- split: test_it
path: "ita_test.jsonl"
- split: test_po
path: "por_test.jsonl"
- split: test_sp
path: "spa_test.jsonl"
- config_name: clean
data_files:
- split: train_en
path: "eng_train.jsonl"
- split: train_de
path: "deu_train.jsonl"
- split: train_fr
path: "fra_train.jsonl"
- split: train_it
path: "ita_train.jsonl"
- split: train_po
path: "por_train.jsonl"
- split: train_sp
path: "spa_train.jsonl"
- split: validation_clean_en
path: "eng_dev_clean.jsonl"
- split: validation_clean_de
path: "deu_dev_clean.jsonl"
- split: validation_clean_fr
path: "fra_dev_clean.jsonl"
- split: validation_clean_it
path: "ita_dev_clean.jsonl"
- split: validation_clean_po
path: "por_dev_clean.jsonl"
- split: validation_clean_sp
path: "spa_dev_clean.jsonl"
- split: test_clean_en
path: "eng_test_clean.jsonl"
- split: test_clean_de
path: "deu_test_clean.jsonl"
- split: test_clean_fr
path: "fra_test_clean.jsonl"
- split: test_clean_it
path: "ita_test_clean.jsonl"
- split: test_clean_po
path: "por_test_clean.jsonl"
- split: test_clean_sp
path: "spa_test_clean.jsonl"
- config_name: noneg
data_files:
- split: train_en
path: "eng_train.jsonl"
- split: train_de
path: "deu_train.jsonl"
- split: train_fr
path: "fra_train.jsonl"
- split: train_it
path: "ita_train.jsonl"
- split: train_po
path: "por_train.jsonl"
- split: train_sp
path: "spa_train.jsonl"
- split: validation_noneg_en
path: "eng_dev_no_allneg.jsonl"
- split: validation_noneg_de
path: "deu_dev_no_allneg.jsonl"
- split: validation_noneg_fr
path: "fra_dev_no_allneg.jsonl"
- split: validation_noneg_it
path: "ita_dev_no_allneg.jsonl"
- split: validation_noneg_po
path: "por_dev_no_allneg.jsonl"
- split: validation_noneg_sp
path: "spa_dev_no_allneg.jsonl"
- split: test_noneg_en
path: "eng_test_no_allneg.jsonl"
- split: test_noneg_de
path: "deu_test_no_allneg.jsonl"
- split: test_noneg_fr
path: "fra_test_no_allneg.jsonl"
- split: test_noneg_it
path: "ita_test_no_allneg.jsonl"
- split: test_noneg_po
path: "por_test_no_allneg.jsonl"
- split: test_noneg_sp
path: "spa_test_no_allneg.jsonl"
- config_name: en
data_files:
- split: train
path: "eng_train.jsonl"
- split: validation
path: "eng_dev.jsonl"
- split: test
path: "eng_test.jsonl"
- config_name: de
data_files:
- split: train
path: "deu_train.jsonl"
- split: validation
path: "deu_dev.jsonl"
- split: test
path: "deu_test.jsonl"
- config_name: fr
data_files:
- split: train
path: "fra_train.jsonl"
- split: validation
path: "fra_dev.jsonl"
- split: test
path: "fra_test.jsonl"
- config_name: it
data_files:
- split: train
path: "ita_train.jsonl"
- split: validation
path: "ita_dev.jsonl"
- split: test
path: "ita_test.jsonl"
- config_name: po
data_files:
- split: train
path: "por_train.jsonl"
- split: validation
path: "por_dev.jsonl"
- split: test
path: "por_test.jsonl"
- config_name: sp
data_files:
- split: train
path: "spa_train.jsonl"
- split: validation
path: "spa_dev.jsonl"
- split: test
path: "spa_test.jsonl"
- config_name: en_noneg
data_files:
- split: train
path: "eng_train.jsonl"
- split: validation
path: "eng_dev_no_allneg.jsonl"
- split: test
path: "eng_test_no_allneg.jsonl"
- config_name: de_noneg
data_files:
- split: train
path: "deu_train.jsonl"
- split: validation
path: "deu_dev_no_allneg.jsonl"
- split: test
path: "deu_test_no_allneg.jsonl"
- config_name: fr_noneg
data_files:
- split: train
path: "fra_train.jsonl"
- split: validation
path: "fra_dev_no_allneg.jsonl"
- split: test
path: "fra_test_no_allneg.jsonl"
- config_name: it_noneg
data_files:
- split: train
path: "ita_train.jsonl"
- split: validation
path: "ita_dev_no_allneg.jsonl"
- split: test
path: "ita_test_no_allneg.jsonl"
- config_name: po_noneg
data_files:
- split: train
path: "por_train.jsonl"
- split: validation
path: "por_dev_no_allneg.jsonl"
- split: test
path: "por_test_no_allneg.jsonl"
- config_name: sp_noneg
data_files:
- split: train
path: "spa_train.jsonl"
- split: validation
path: "spa_dev_no_allneg.jsonl"
- split: test
path: "spa_test_no_allneg.jsonl"
- config_name: en_clean
data_files:
- split: train
path: "eng_train.jsonl"
- split: validation
path: "eng_dev_clean.jsonl"
- split: test
path: "eng_test_clean.jsonl"
- config_name: de_clean
data_files:
- split: train
path: "deu_train.jsonl"
- split: validation
path: "deu_dev_clean.jsonl"
- split: test
path: "deu_test_clean.jsonl"
- config_name: fr_clean
data_files:
- split: train
path: "fra_train.jsonl"
- split: validation
path: "fra_dev_clean.jsonl"
- split: test
path: "fra_test_clean.jsonl"
- config_name: it_clean
data_files:
- split: train
path: "ita_train.jsonl"
- split: validation
path: "ita_dev_clean.jsonl"
- split: test
path: "ita_test_clean.jsonl"
- config_name: po_clean
data_files:
- split: train
path: "por_train.jsonl"
- split: validation
path: "por_dev_clean.jsonl"
- split: test
path: "por_test_clean.jsonl"
- config_name: sp_clean
data_files:
- split: train
path: "spa_train.jsonl"
- split: validation
path: "spa_dev_clean.jsonl"
- split: test
path: "spa_test_clean.jsonl"
---
## Dataset Description
**mWikiQA** is a translated version of WikiQA. It contains 3,047 questions sampled from Bing query logs. The candidate answer sentences are extracted from Wikipedia and then manually labeled to assess whether they are correct answers.
The dataset has been translated into five European languages: French, German, Italian, Portuguese, and Spanish, as described in this paper: [Datasets for Multilingual Answer Sentence Selection](https://arxiv.org/abs/2406.10172 'Datasets for Multilingual Answer Sentence Selection').
## Splits:
For each language (English, French, German, Italian, Portuguese, and Spanish), we provide:
- **train** split
- **validation** split
- **test** split
In addition, the validation and the test splits are available also in the following preprocessed versions:
- **noneg**: without questions with only negative answer candidates
- **clean**: without questions with only negative and only positive answer candidates
### How to load them:
To use these splits, you can use the following snippet of code replacing ``[LANG]`` with a language identifier (en, fr, de, it, po, sp), and ``[VERSION]`` with the version identifier (noneg, clean)
```
from datasets import load_dataset
# if you want the whole corpora
corpora = load_dataset("matteogabburo/mWikiQA")
# if you want the clean test and test sets
corpora = load_dataset("matteogabburo/mWikiQA", "clean")
# if you want the "no all negatives" validation and test sets
corpora = load_dataset("matteogabburo/mWikiQA", "noneg")
"""
if you want the default splits of a specific language, replace [LANG] with an identifier in: en, fr, de, it, po, sp
dataset = load_dataset("matteogabburo/mWikiQA", "[LANG]")
"""
# example:
italian_dataset = load_dataset("matteogabburo/mWikiQA", "it")
"""
if you want the processed splits ("clean" and "no all negatives" sets), replace [LANG] with a language identifier and [VERSION] with "noneg" or "clean"
dataset = load_dataset("matteogabburo/mWikiQA", "[LANG]_[VERSION]")
"""
# example:
italian_clean_dataset = load_dataset("matteogabburo/mWikiQA", "it_clean")
```
## Format:
Each example has the following format:
```
{
'eid': 1214,
'qid': 141,
'cid': 0,
'label': 1,
'question': 'Was bedeutet Karma im Buddhismus?',
'candidate': 'Karma (Sanskrit, auch karman, Pali: Kamma) bedeutet "Handlung" oder "Tun"; was auch immer man tut, sagt oder denkt, ist ein Karma.'
}
```
Where:
- **eid**: is the unique id of the example (question, candidate)
- **qid**: is the unique id of the question
- **cid**: is the unique id of the answer candidate
- **label**: identifies whether the answer candidate ``candidate`` is correct for the ``question`` (1 if correct, 0 otherwise)
- **question**: the question
- **candidate**: the answer candidate
## Citation
If you find this dataset useful, please cite the following paper:
**BibTeX:**
```
@misc{gabburo2024datasetsmultilingualanswersentence,
title={Datasets for Multilingual Answer Sentence Selection},
author={Matteo Gabburo and Stefano Campese and Federico Agostini and Alessandro Moschitti},
year={2024},
eprint={2406.10172},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2406.10172},
}
```
|