Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,56 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
|
5 |
+
# Dataset Card for "Calc-math_qa"
|
6 |
+
|
7 |
+
|
8 |
+
## Summary
|
9 |
+
|
10 |
+
This dataset is an instance of math_qa dataset, converted to a simple html-like language that can be easily parsed (e.g. by BeautifulSoup). The data contains 3 types of tags:
|
11 |
+
- gadget: A tag whose content is intended to be evaluated by calling an external tool (sympy-based calculator in this case)
|
12 |
+
- output: An output of the external tool
|
13 |
+
- result: The final answer of the mathematical problem (a number)
|
14 |
+
|
15 |
+
|
16 |
+
## Supported Tasks
|
17 |
+
|
18 |
+
The dataset is intended for training Chain-of-Thought reasoning **models able to use external tools** to enhance the factuality of their responses.
|
19 |
+
This dataset presents in-context scenarios where models can out-source the computations in the reasoning chain to a calculator.
|
20 |
+
|
21 |
+
|
22 |
+
## Construction Process
|
23 |
+
|
24 |
+
We took the original math_qa dataset, parsed the nested formulas, linearized them into a sequence (chain) of operations, and replace all advanced
|
25 |
+
function calls (such as `circle_area`) with explicit elementary operations. We evaluate all the steps in each example and filter out examples if their
|
26 |
+
evaluation does not match the answer selected as correct in the data with a 5% tolerance. The sequence of steps is then saved in HTML-like language
|
27 |
+
in `chain` column. We keep the original columns in the dataset for convenience.
|
28 |
+
|
29 |
+
You can read more information about this process in our [technical report](https://arxiv.org/abs/2305.15017).
|
30 |
+
|
31 |
+
|
32 |
+
## Content and Data splits
|
33 |
+
|
34 |
+
Content and splits correspond to the original math_qa dataset.
|
35 |
+
See [mathqa HF dataset](https://huggingface.co/datasets/math_qa) and [official website](https://math-qa.github.io/) for more info.
|
36 |
+
|
37 |
+
|
38 |
+
## Licence
|
39 |
+
|
40 |
+
Apache 2.0, consistently with the original dataset.
|
41 |
+
|
42 |
+
|
43 |
+
## Cite
|
44 |
+
|
45 |
+
If you use this version of dataset in research, please cite the [original MathQA paper](https://arxiv.org/abs/1905.13319), ans also [our technical report](https://arxiv.org/abs/2305.15017) as follows:
|
46 |
+
|
47 |
+
```bibtex
|
48 |
+
@article{kadlcik2023calcx,
|
49 |
+
title={Calc-X: Enriching Arithmetical Chain-of-Thoughts Datasets by Interaction with Symbolic Systems},
|
50 |
+
author={Marek Kadlčík and Michal Štefánik},
|
51 |
+
year={2023},
|
52 |
+
eprint={2305.15017},
|
53 |
+
archivePrefix={arXiv},
|
54 |
+
primaryClass={cs.LG}
|
55 |
+
}
|
56 |
+
```
|