Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
parquet
Size:
1K - 10K
ArXiv:
Tags:
math-word-problems
License:
File size: 14,974 Bytes
7d88e0c ab4e0c6 af90ee4 ab4e0c6 af90ee4 ab4e0c6 af90ee4 bd4f2be ab4e0c6 af90ee4 ab4e0c6 af90ee4 ab4e0c6 af90ee4 ab4e0c6 af90ee4 ab4e0c6 af90ee4 ab4e0c6 af90ee4 7d88e0c af90ee4 d76df6f af90ee4 54ab78e af90ee4 943c45e af90ee4 d76df6f af90ee4 54ab78e af90ee4 7d88e0c ab4e0c6 bd4f2be ab4e0c6 bd4f2be ab4e0c6 bd4f2be ab4e0c6 bd4f2be ab4e0c6 |
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 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
---
annotations_creators:
- found
language_creators:
- found
- expert-generated
language:
- en
- es
- fr
- de
- ru
- zh
- ja
- th
- sw
- bn
- ca
- gl
- eu
license:
- cc-by-sa-4.0
multilinguality:
- multilingual
size_categories:
- 1K<n<10K
source_datasets:
- extended|gsm8k
task_categories:
- text2text-generation
task_ids: []
paperswithcode_id: multi-task-language-understanding-on-mgsm
pretty_name: Multilingual Grade School Math Benchmark (MGSM)
tags:
- math-word-problems
dataset_info:
- config_name: bn
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 5431
num_examples: 8
- name: test
num_bytes: 159663
num_examples: 250
download_size: 72614
dataset_size: 165094
- config_name: ca
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: string
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2540
num_examples: 8
- name: test
num_bytes: 143652
num_examples: 250
download_size: 92689
dataset_size: 146192
- config_name: de
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2532
num_examples: 8
- name: test
num_bytes: 72619
num_examples: 250
download_size: 49997
dataset_size: 75151
- config_name: en
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2294
num_examples: 8
- name: test
num_bytes: 64278
num_examples: 250
download_size: 45532
dataset_size: 66572
- config_name: es
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2516
num_examples: 8
- name: test
num_bytes: 69875
num_examples: 250
download_size: 48254
dataset_size: 72391
- config_name: eu
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2464
num_examples: 8
- name: test
num_bytes: 69116
num_examples: 250
download_size: 47145
dataset_size: 71580
- config_name: fr
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2635
num_examples: 8
- name: test
num_bytes: 72120
num_examples: 250
download_size: 50101
dataset_size: 74755
- config_name: gl
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int64
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2416
num_examples: 8
- name: test
num_bytes: 68662
num_examples: 250
download_size: 47709
dataset_size: 71078
- config_name: ja
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 3569
num_examples: 8
- name: test
num_bytes: 84022
num_examples: 250
download_size: 53420
dataset_size: 87591
- config_name: ru
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 3955
num_examples: 8
- name: test
num_bytes: 113932
num_examples: 250
download_size: 65114
dataset_size: 117887
- config_name: sw
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2479
num_examples: 8
- name: test
num_bytes: 70435
num_examples: 250
download_size: 47068
dataset_size: 72914
- config_name: te
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 6693
num_examples: 8
- name: test
num_bytes: 179526
num_examples: 250
download_size: 78183
dataset_size: 186219
- config_name: th
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 6225
num_examples: 8
- name: test
num_bytes: 154900
num_examples: 250
download_size: 72250
dataset_size: 161125
- config_name: zh
features:
- name: question
dtype: string
- name: answer
dtype: string
- name: answer_number
dtype: int32
- name: equation_solution
dtype: string
splits:
- name: train
num_bytes: 2341
num_examples: 8
- name: test
num_bytes: 60817
num_examples: 250
download_size: 46382
dataset_size: 63158
configs:
- config_name: bn
data_files:
- split: train
path: bn/train-*
- split: test
path: bn/test-*
- config_name: ca
data_files:
- split: train
path: ca/train-*
- split: test
path: ca/test-*
- config_name: de
data_files:
- split: train
path: de/train-*
- split: test
path: de/test-*
- config_name: en
data_files:
- split: train
path: en/train-*
- split: test
path: en/test-*
- config_name: es
data_files:
- split: train
path: es/train-*
- split: test
path: es/test-*
- config_name: eu
data_files:
- split: train
path: eu/train-*
- split: test
path: eu/test-*
- config_name: fr
data_files:
- split: train
path: fr/train-*
- split: test
path: fr/test-*
- config_name: gl
data_files:
- split: train
path: gl/train-*
- split: test
path: gl/test-*
- config_name: ja
data_files:
- split: train
path: ja/train-*
- split: test
path: ja/test-*
- config_name: ru
data_files:
- split: train
path: ru/train-*
- split: test
path: ru/test-*
- config_name: sw
data_files:
- split: train
path: sw/train-*
- split: test
path: sw/test-*
- config_name: te
data_files:
- split: train
path: te/train-*
- split: test
path: te/test-*
- config_name: th
data_files:
- split: train
path: th/train-*
- split: test
path: th/test-*
- config_name: zh
data_files:
- split: train
path: zh/train-*
- split: test
path: zh/test-*
---
# Dataset Card for MGSM
## Table of Contents
- [Dataset Description](#dataset-description)
- [Dataset Summary](#dataset-summary)
- [Supported Tasks](#supported-tasks-and-leaderboards)
- [Languages](#languages)
- [Dataset Structure](#dataset-structure)
- [Data Instances](#data-instances)
- [Data Fields](#data-instances)
- [Data Splits](#data-instances)
- [Dataset Creation](#dataset-creation)
- [Curation Rationale](#curation-rationale)
- [Source Data](#source-data)
- [Annotations](#annotations)
- [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
- [Social Impact of Dataset](#social-impact-of-dataset)
- [Discussion of Biases](#discussion-of-biases)
- [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
- [Dataset Curators](#dataset-curators)
- [Licensing Information](#licensing-information)
- [Citation Information](#citation-information)
## Dataset Description
- **Homepage:** https://openai.com/blog/grade-school-math/
- **Repository:** https://github.com/openai/grade-school-math
- **Paper:** https://arxiv.org/abs/2110.14168
- **Leaderboard:** [Needs More Information]
- **Point of Contact:** [Needs More Information]
### Dataset Summary
Copy and merge of [this MGSM Dataset](https://huggingface.co/datasets/juletxara/mgsm), [Catalan version](https://huggingface.co/datasets/projecte-aina/mgsm_ca), [Basque version](https://huggingface.co/datasets/HiTZ/MGSM-eu), [Galician version](https://huggingface.co/datasets/proxectonos/mgsm_gl), but in training samples we removed the prompt formatting, e.g. removed `Question: ...` in question field or `Answer: ...` in answer field.
Multilingual Grade School Math Benchmark (MGSM) is a benchmark of grade-school math problems, proposed in the paper [Language models are multilingual chain-of-thought reasoners](http://arxiv.org/abs/2210.03057).
The same 250 problems from [GSM8K](https://arxiv.org/abs/2110.14168) are each translated via human annotators in 10 languages. The 10 languages are:
- Spanish
- French
- German
- Russian
- Chinese
- Japanese
- Thai
- Swahili
- Bengali
- Telugu
- Catalan
- Basque
- Galician
GSM8K (Grade School Math 8K) is a dataset of 8.5K high quality linguistically diverse grade school math word problems. The dataset was created to support the task of question answering on basic mathematical problems that require multi-step reasoning.
You can find the input and targets for each of the ten languages (and English) as `.tsv` files.
We also include few-shot exemplars that are also manually translated from each language in `exemplars.py`.
### Supported Tasks and Leaderboards
[Needs More Information]
### Languages
The same 250 problems from [GSM8K](https://arxiv.org/abs/2110.14168) are each translated via human annotators in 10 languages. The 10 languages are:
- Spanish
- French
- German
- Russian
- Chinese
- Japanese
- Thai
- Swahili
- Bengali
- Telugu
- Catalan
- Basque
- Galician
## Dataset Structure
### Data Instances
Each instance in the train split contains:
- a string for the grade-school level math question
- a string for the corresponding answer with chain-of-thought steps.
- the numeric solution to the question
- the equation solution to the question
```python
{'question': 'Question: Roger has 5 tennis balls. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now?',
'answer': 'Step-by-Step Answer: Roger started with 5 balls. 2 cans of 3 tennis balls each is 6 tennis balls. 5 + 6 = 11. The answer is 11.',
'answer_number': 11,
'equation_solution': '5 + 6 = 11.'}
```
Each instance in the test split contains:
- a string for the grade-school level math question
- the numeric solution to the question
```python
{'question': "Janet’s ducks lay 16 eggs per day. She eats three for breakfast every morning and bakes muffins for her friends every day with four. She sells the remainder at the farmers' market daily for $2 per fresh duck egg. How much in dollars does she make every day at the farmers' market?",
'answer': None,
'answer_number': 18,
'equation_solution': None}
```
### Data Fields
The data fields are the same among `train` and `test` splits.
- question: The question string to a grade school math problem.
- answer: The full solution string to the `question`. It contains multiple steps of reasoning with calculator annotations and the final numeric solution.
- answer_number: The numeric solution to the `question`.
- equation_solution: The equation solution to the `question`.
### Data Splits
- The train split includes 8 few-shot exemplars that are also manually translated from each language.
- The test split includes the same 250 problems from GSM8K translated via human annotators in 10 languages.
| name |train|test |
|--------|----:|---------:|
|en | 8 | 250 |
|es | 8 | 250 |
|fr | 8 | 250 |
|de | 8 | 250 |
|ru | 8 | 250 |
|zh | 8 | 250 |
|ja | 8 | 250 |
|th | 8 | 250 |
|sw | 8 | 250 |
|bn | 8 | 250 |
|te | 8 | 250 |
|ca | 8 | 250 |
|eu | 8 | 250 |
|gl | 8 | 250 |
## Dataset Creation
### Curation Rationale
[Needs More Information]
### Source Data
#### Initial Data Collection and Normalization
From the paper:
> We initially collected a starting set of a thousand problems and natural language solutions by hiring freelance contractors on Upwork (upwork.com). We then worked with Surge AI (surgehq.ai), an NLP data labeling platform, to scale up our data collection. After collecting the full dataset, we asked workers to re-solve all problems, with no workers re-solving problems they originally wrote. We checked whether their final answers agreed with the original solu- tions, and any problems that produced disagreements were either repaired or discarded. We then performed another round of agreement checks on a smaller subset of problems, finding that 1.7% of problems still produce disagreements among contractors. We estimate this to be the fraction of problems that con- tain breaking errors or ambiguities. It is possible that a larger percentage of problems contain subtle errors.
#### Who are the source language producers?
[Needs More Information]
### Annotations
#### Annotation process
[Needs More Information]
#### Who are the annotators?
Surge AI (surgehq.ai)
### Personal and Sensitive Information
[Needs More Information]
## Considerations for Using the Data
### Social Impact of Dataset
[Needs More Information]
### Discussion of Biases
[Needs More Information]
### Other Known Limitations
[Needs More Information]
## Additional Information
### Dataset Curators
[Needs More Information]
### Licensing Information
The GSM8K dataset is licensed under the [MIT License](https://opensource.org/licenses/MIT).
### Citation Information
```bibtex
@article{cobbe2021gsm8k,
title={Training Verifiers to Solve Math Word Problems},
author={Cobbe, Karl and Kosaraju, Vineet and Bavarian, Mohammad and Chen, Mark and Jun, Heewoo and Kaiser, Lukasz and Plappert, Matthias and Tworek, Jerry and Hilton, Jacob and Nakano, Reiichiro and Hesse, Christopher and Schulman, John},
journal={arXiv preprint arXiv:2110.14168},
year={2021}
}
@misc{shi2022language,
title={Language Models are Multilingual Chain-of-Thought Reasoners},
author={Freda Shi and Mirac Suzgun and Markus Freitag and Xuezhi Wang and Suraj Srivats and Soroush Vosoughi and Hyung Won Chung and Yi Tay and Sebastian Ruder and Denny Zhou and Dipanjan Das and Jason Wei},
year={2022},
eprint={2210.03057},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
```
### Contributions
Thanks to [@juletx](https://github.com/juletx) for adding this dataset. |