Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -77,33 +77,37 @@ configs:
|
|
| 77 |
This dataset is an instance of gsm8k dataset, converted to a simple html-like language that can be easily parsed (e.g. by BeautifulSoup). The data contains 3 types of tags:
|
| 78 |
- gadget: A tag whose content is intended to be evaluated by calling an external tool (sympy-based calculator in this case)
|
| 79 |
- output: An output of the external tool
|
| 80 |
-
- result: The final answer
|
| 81 |
|
| 82 |
|
| 83 |
## Supported Tasks
|
| 84 |
|
| 85 |
The dataset is intended for training Chain-of-Thought reasoning **models able to use external tools** to enhance the factuality of their responses.
|
| 86 |
-
This dataset presents in-context scenarios where models can
|
| 87 |
|
| 88 |
|
| 89 |
## Construction Process
|
| 90 |
|
| 91 |
-
The answers in the original dataset
|
| 92 |
-
were evaluated using a sympy-based calculator, the outputs were checked to be consistent with the intermediate results and
|
| 93 |
into a simple html-like language that BeautifulSoup can parse.
|
| 94 |
|
| 95 |
|
| 96 |
## Content and Data splits
|
| 97 |
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
In this version, we created validation set by sampling 200 random examples from the original train split. The original data splits can be downloaded using:
|
| 101 |
|
|
|
|
|
|
|
| 102 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
datasets.load_dataset("MU-NLPC/Calc-gsm8k", "original-splits")
|
| 104 |
```
|
| 105 |
|
| 106 |
-
|
| 107 |
|
| 108 |
|
| 109 |
## Licence
|
|
@@ -113,7 +117,7 @@ MIT, consistently with the original dataset.
|
|
| 113 |
|
| 114 |
## Cite
|
| 115 |
|
| 116 |
-
If you use this version of dataset in research, please cite the [original GSM8K paper](https://arxiv.org/abs/2110.14168) and [Calc-X collection](https://arxiv.org/abs/2305.15017) as follows:
|
| 117 |
|
| 118 |
```bibtex
|
| 119 |
@inproceedings{kadlcik-etal-2023-soft,
|
|
|
|
| 77 |
This dataset is an instance of gsm8k dataset, converted to a simple html-like language that can be easily parsed (e.g. by BeautifulSoup). The data contains 3 types of tags:
|
| 78 |
- gadget: A tag whose content is intended to be evaluated by calling an external tool (sympy-based calculator in this case)
|
| 79 |
- output: An output of the external tool
|
| 80 |
+
- result: The final answer to the mathematical problem (a number)
|
| 81 |
|
| 82 |
|
| 83 |
## Supported Tasks
|
| 84 |
|
| 85 |
The dataset is intended for training Chain-of-Thought reasoning **models able to use external tools** to enhance the factuality of their responses.
|
| 86 |
+
This dataset presents in-context scenarios where models can outsource the computations in the reasoning chain to a calculator.
|
| 87 |
|
| 88 |
|
| 89 |
## Construction Process
|
| 90 |
|
| 91 |
+
The answers in the original dataset were in a structured but non-standard format. So, the answers were parsed, all arithmetical expressions
|
| 92 |
+
were evaluated using a sympy-based calculator, the outputs were checked to be consistent with the intermediate results and exported
|
| 93 |
into a simple html-like language that BeautifulSoup can parse.
|
| 94 |
|
| 95 |
|
| 96 |
## Content and Data splits
|
| 97 |
|
| 98 |
+
For convenience, we created a validation set by sampling 200 random examples from the original train split. You can load this using:
|
|
|
|
|
|
|
| 99 |
|
| 100 |
+
```python3
|
| 101 |
+
datasets.load_dataset("MU-NLPC/Calc-gsm8k")
|
| 102 |
```
|
| 103 |
+
|
| 104 |
+
The original data splits can be loaded using:
|
| 105 |
+
|
| 106 |
+
```python3
|
| 107 |
datasets.load_dataset("MU-NLPC/Calc-gsm8k", "original-splits")
|
| 108 |
```
|
| 109 |
|
| 110 |
+
For more info about the content of the dataset, see [gsm8k HF dataset](https://huggingface.co/datasets/gsm8k) and the [official repository](https://github.com/openai/grade-school-math).
|
| 111 |
|
| 112 |
|
| 113 |
## Licence
|
|
|
|
| 117 |
|
| 118 |
## Cite
|
| 119 |
|
| 120 |
+
If you use this version of the dataset in research, please cite the [original GSM8K paper](https://arxiv.org/abs/2110.14168), and [Calc-X collection](https://arxiv.org/abs/2305.15017) as follows:
|
| 121 |
|
| 122 |
```bibtex
|
| 123 |
@inproceedings{kadlcik-etal-2023-soft,
|