Dataset

rv-datasets/rv-datasets-gsm8k

Upload to root (folder upload kept the folder name)

rv-datasets committed on October 20, 2026

1e5d4b4057e9b51cfa7a459e9d90fb5cb906d54eParent b223cbcBrowse files

5 files changed+226 -0

README.md

Added+226 -0
Lines 0 to 0 become lines 1 to 226
@@ -0,0 +1,226 @@
1Added: ---
2Added: annotations_creators:
3Added: - crowdsourced
4Added: language_creators:
5Added: - crowdsourced
6Added: language:
7Added: - en
8Added: license:
9Added: - mit
10Added: multilinguality:
11Added: - monolingual
12Added: size_categories:
13Added: - 1K<n<10K
14Added: source_datasets:
15Added: - original
16Added: task_categories:
17Added: - text-generation
18Added: task_ids: []
19Added: paperswithcode_id: gsm8k
20Added: pretty_name: Grade School Math 8K
21Added: tags:
22Added: - math-word-problems
23Added: dataset_info:
24Added: - config_name: main
25Added: features:
26Added: - name: question
27Added: dtype: string
28Added: - name: answer
29Added: dtype: string
30Added: splits:
31Added: - name: train
32Added: num_bytes: 3963202
33Added: num_examples: 7473
34Added: - name: test
35Added: num_bytes: 713732
36Added: num_examples: 1319
37Added: download_size: 2725633
38Added: dataset_size: 4676934
39Added: - config_name: socratic
40Added: features:
41Added: - name: question
42Added: dtype: string
43Added: - name: answer
44Added: dtype: string
45Added: splits:
46Added: - name: train
47Added: num_bytes: 5198108
48Added: num_examples: 7473
49Added: - name: test
50Added: num_bytes: 936859
51Added: num_examples: 1319
52Added: download_size: 3164254
53Added: dataset_size: 6134967
54Added: configs:
55Added: - config_name: main
56Added: data_files:
57Added: - split: train
58Added: path: main/train-*
59Added: - split: test
60Added: path: main/test-*
61Added: - config_name: socratic
62Added: data_files:
63Added: - split: train
64Added: path: socratic/train-*
65Added: - split: test
66Added: path: socratic/test-*
67Added: ---
68Added:
69Added: # Dataset Card for GSM8K
70Added:
71Added: ## Table of Contents
72Added: - [Dataset Description](#dataset-description)
73Added: - [Dataset Summary](#dataset-summary)
74Added: - [Supported Tasks](#supported-tasks-and-leaderboards)
75Added: - [Languages](#languages)
76Added: - [Dataset Structure](#dataset-structure)
77Added: - [Data Instances](#data-instances)
78Added: - [Data Fields](#data-instances)
79Added: - [Data Splits](#data-instances)
80Added: - [Dataset Creation](#dataset-creation)
81Added: - [Curation Rationale](#curation-rationale)
82Added: - [Source Data](#source-data)
83Added: - [Annotations](#annotations)
84Added: - [Personal and Sensitive Information](#personal-and-sensitive-information)
85Added: - [Considerations for Using the Data](#considerations-for-using-the-data)
86Added: - [Social Impact of Dataset](#social-impact-of-dataset)
87Added: - [Discussion of Biases](#discussion-of-biases)
88Added: - [Other Known Limitations](#other-known-limitations)
89Added: - [Additional Information](#additional-information)
90Added: - [Dataset Curators](#dataset-curators)
91Added: - [Licensing Information](#licensing-information)
92Added: - [Citation Information](#citation-information)
93Added:
94Added: ## Dataset Description
95Added:
96Added: - **Homepage:** https://openai.com/blog/grade-school-math/
97Added: - **Repository:** https://github.com/openai/grade-school-math
98Added: - **Paper:** https://arxiv.org/abs/2110.14168
99Added: - **Leaderboard:** [Needs More Information]
100Added: - **Point of Contact:** [Needs More Information]
101Added:
102Added: ### Dataset Summary
103Added:
104Added: 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.
105Added: - These problems take between 2 and 8 steps to solve.
106Added: - Solutions primarily involve performing a sequence of elementary calculations using basic arithmetic operations (+ − ×÷) to reach the final answer.
107Added: - A bright middle school student should be able to solve every problem: from the paper, "Problems require no concepts beyond the level of early Algebra, and the vast majority of problems can be solved without explicitly defining a variable."
108Added: - Solutions are provided in natural language, as opposed to pure math expressions. From the paper: "We believe this is the most generally useful data format, and we expect it to shed light on the properties of large language models’ internal monologues""
109Added:
110Added: ### Supported Tasks and Leaderboards
111Added:
112Added: This dataset is generally used to test logic and math in language modelling.
113Added: It has been used for many benchmarks, including the [LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard).
114Added:
115Added: ### Languages
116Added:
117Added: The text in the dataset is in English. The associated BCP-47 code is `en`.
118Added:
119Added: ## Dataset Structure
120Added:
121Added: ### Data Instances
122Added:
123Added: For the `main` configuration, each instance contains a string for the grade-school level math question and a string for the corresponding answer with multiple steps of reasoning and calculator annotations (explained [here](https://github.com/openai/grade-school-math#calculation-annotations)).
124Added:
125Added:
126Added: ```python
127Added: {
128Added: 'question': 'Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?',
129Added: 'answer': 'Natalia sold 48/2 = <<48/2=24>>24 clips in May.\nNatalia sold 48+24 = <<48+24=72>>72 clips altogether in April and May.\n#### 72',
130Added: }
131Added: ```
132Added:
133Added: For the `socratic` configuration, each instance contains a string for a grade-school level math question, a string for the corresponding answer with multiple steps of reasoning, calculator annotations (explained [here](https://github.com/openai/grade-school-math#calculation-annotations)), and *Socratic sub-questions*.
134Added:
135Added: ```python
136Added: {
137Added: 'question': 'Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?',
138Added: 'answer': 'How many clips did Natalia sell in May? ** Natalia sold 48/2 = <<48/2=24>>24 clips in May.\nHow many clips did Natalia sell altogether in April and May? ** Natalia sold 48+24 = <<48+24=72>>72 clips altogether in April and May.\n#### 72',
139Added: }
140Added: ```
141Added:
142Added: ### Data Fields
143Added:
144Added: The data fields are the same among `main` and `socratic` configurations and their individual splits.
145Added:
146Added: - question: The question string to a grade school math problem.
147Added:
148Added: - answer: The full solution string to the `question`. It contains multiple steps of reasoning with calculator annotations and the final numeric solution.
149Added:
150Added: ### Data Splits
151Added:
152Added: | name |train|validation|
153Added: |--------|----:|---------:|
154Added: |main | 7473| 1319|
155Added: |socratic| 7473| 1319|
156Added:
157Added: ## Dataset Creation
158Added:
159Added: ### Curation Rationale
160Added:
161Added: [Needs More Information]
162Added:
163Added: ### Source Data
164Added:
165Added: #### Initial Data Collection and Normalization
166Added:
167Added: From the paper, appendix A:
168Added:
169Added: > 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 solutions, 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 contain breaking errors or ambiguities. It is possible that a larger percentage of problems contain subtle errors.
170Added:
171Added: #### Who are the source language producers?
172Added:
173Added: [Needs More Information]
174Added:
175Added: ### Annotations
176Added:
177Added: #### Annotation process
178Added:
179Added: [Needs More Information]
180Added:
181Added: #### Who are the annotators?
182Added:
183Added: Surge AI (surgehq.ai)
184Added:
185Added: ### Personal and Sensitive Information
186Added:
187Added: [Needs More Information]
188Added:
189Added: ## Considerations for Using the Data
190Added:
191Added: ### Social Impact of Dataset
192Added:
193Added: [Needs More Information]
194Added:
195Added: ### Discussion of Biases
196Added:
197Added: [Needs More Information]
198Added:
199Added: ### Other Known Limitations
200Added:
201Added: [Needs More Information]
202Added:
203Added: ## Additional Information
204Added:
205Added: ### Dataset Curators
206Added:
207Added: [Needs More Information]
208Added:
209Added: ### Licensing Information
210Added:
211Added: The GSM8K dataset is licensed under the [MIT License](https://opensource.org/licenses/MIT).
212Added:
213Added: ### Citation Information
214Added:
215Added: ```bibtex
216Added: @article{cobbe2021gsm8k,
217Added: title={Training Verifiers to Solve Math Word Problems},
218Added: 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},
219Added: journal={arXiv preprint arXiv:2110.14168},
220Added: year={2021}
221Added: }
222Added: ```
223Added:
224Added: ### Contributions
225Added:
226Added: Thanks to [@jon-tow](https://github.com/jon-tow) for adding this dataset.(no newline at end of file)

main/test-00000-of-00001.parquet

Added

Binary file not shown.

main/train-00000-of-00001.parquet

Added

This file is too large to display.

socratic/test-00000-of-00001.parquet

Added

Binary file not shown.

socratic/train-00000-of-00001.parquet

Added

This file is too large to display.