Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
prompteus commited on
Commit
1693598
1 Parent(s): 1b69f46

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -0
README.md CHANGED
@@ -1,3 +1,67 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+
5
+ # Dataset Card for "Calc-ape210k"
6
+
7
+
8
+ ## Summary
9
+
10
+ This dataset is an instance of Ape210K 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 outsource the computations in the reasoning chain to a calculator.
20
+
21
+
22
+ ## Construction Process
23
+
24
+ First, we translated the questions into English using Google Translate. Next, we parsed the equations and the results. We linearized
25
+ the equations into a sequence of elementary steps and evaluated them using a sympy-based calculator. We numerically compare the output
26
+ with the result in the data and remove all examples where they do not match (less than 3% loss in each split). Finally, we save the
27
+ chain of steps the HTML-like language in the `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 Ape210K dataset.
35
+ See [ape210k dataset github](https://github.com/Chenny0808/ape210k) and [the paper](https://arxiv.org/abs/2009.11506) for more info.
36
+
37
+ Columns:
38
+ - `id` - id of the example
39
+ - `question_chinese` - description of the math problem in Chinese
40
+ - `question_english_mt` - translation of `question_chinese` to English using Google Translate
41
+ - `equation` - a nested expression that evaluates to the correct answer
42
+ - `result_orig_format` - result as a string from the original dataset
43
+ - `result_new_format` - result as a string, coming out of our sympy calculator
44
+ - `result_float` - result as a float (e.g. evaluated fractions, etc.)
45
+ - `chain` - linearized `equation`, converted to HTML-like language with expressions that can be evaluated using our sympy-based calculator
46
+
47
+
48
+
49
+ ## Licence
50
+
51
+ MIT, consistently with the original dataset.
52
+
53
+
54
+ ## Cite
55
+
56
+ If you use this version of the dataset in research, please cite the [original Ape210k paper](https://arxiv.org/abs/2009.11506) and also [our technical report](https://arxiv.org/abs/2305.15017) as follows:
57
+
58
+ ```bibtex
59
+ @article{kadlcik2023calcx,
60
+ title={Calc-X: Enriching Arithmetical Chain-of-Thoughts Datasets by Interaction with Symbolic Systems},
61
+ author={Marek Kadlčík and Michal Štefánik},
62
+ year={2023},
63
+ eprint={2305.15017},
64
+ archivePrefix={arXiv},
65
+ primaryClass={cs.LG}
66
+ }
67
+ ```