mathewhe commited on
Commit
59affd7
·
1 Parent(s): c8abe94

Initial commit

Browse files
Files changed (6) hide show
  1. .gitattributes +1 -0
  2. LICENSE +13 -0
  3. README.md +89 -0
  4. data/dev.json +0 -0
  5. data/test.json +0 -0
  6. data/train.json +3 -0
.gitattributes CHANGED
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ data/train.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2017 Google Inc.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - text
7
+ - question-and-answer
8
+ pretty_name: AQuA-Rat
9
+ task_categories:
10
+ - question-answering
11
+ ---
12
+
13
+ # Dataset Card for AQuA-Rat
14
+
15
+ - **Homepage:** [https://github.com/google-deepmind/AQuA](https://github.com/google-deepmind/AQuA)
16
+ - This is an unofficial curation of the AQuA-Rat dataset, uploaded here with minimal (i.e., no content-modifying) processing.
17
+ - **Paper:** [*Program Induction by Rationale Generation: Learning to Solve and Explain Algebraic Word Problems*](https://aclanthology.org/P17-1015.pdf) (ACL Anthology)
18
+
19
+ Modifications:
20
+ - Pre-tokenized splits removed since tokenization built into most LM pipelines.
21
+ - Fixed file suffix from `.json` to `.jsonl`.
22
+ - Changed `options` column to hardcoded A-E columns for easier parsing.
23
+ - Changed `correct` column name to `answer_idx` and added `answer` containing the text of the correct answer.
24
+
25
+ ## Dataset Structure
26
+
27
+ Column names have been slightly modified from the original dataset:
28
+
29
+ ```
30
+ question: The question/prompt.
31
+ rationale: The explanation for the solution.
32
+ A: The "A" answer.
33
+ B: The "B" answer.
34
+ C: The "C" answer.
35
+ D: The "D" answer.
36
+ E: The "E" answer.
37
+ answer_idx: The multiple-choice identifier for the correct answer.
38
+ answer: The correct answer.
39
+ ```
40
+
41
+ Compare this example with its equivalent from the original dataset.
42
+
43
+ New:
44
+ ```json
45
+ {
46
+ "question": "Find out which of the following values is the multiple of X, if it is divisible by 9 and 12?",
47
+ "rationale": "9=3*3\n12=3*4\nThe number should definitely have these factors 3*3*4\n36 is the number that has these factors\nSo, 36 is the multiple of X\nAnswer is A",
48
+ "A": "36",
49
+ "B": "15",
50
+ "C": "17",
51
+ "D": "5",
52
+ "E": "7",
53
+ "answer_idx": "A",
54
+ "answer": "36"
55
+ }
56
+ ```
57
+
58
+ Original:
59
+ ```json
60
+ {
61
+ "question": "Find out which of the following values is the multiple of X, if it is divisible by 9 and 12?",
62
+ "options": ["A)36", "B)15", "C)17", "D)5", "E)7"],
63
+ "rationale": "9=3*3\n12=3*4\nThe number should definitely have these factors 3*3*4\n36 is the number that has these factors\nSo, 36 is the multiple of X\nAnswer is A",
64
+ "correct": "A",
65
+ }
66
+ ```
67
+
68
+ No other changes were made.
69
+
70
+ ## Citation Information
71
+
72
+ For reproducibility, please include a link to *this* dataset when publishing results based on the included data.
73
+
74
+ For formal citations, please cite the *original* publication:
75
+ ```
76
+ @inproceedings{ling-etal-2017-program,
77
+ title = "Program Induction by Rationale Generation: Learning to Solve and Explain Algebraic Word Problems",
78
+ author = "Ling, Wang and Yogatama, Dani and Dyer, Chris and Blunsom, Phil",
79
+ editor = "Barzilay, Regina and Kan, Min-Yen",
80
+ booktitle = "Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
81
+ month = jul,
82
+ year = "2017",
83
+ address = "Vancouver, Canada",
84
+ publisher = "Association for Computational Linguistics",
85
+ url = "https://aclanthology.org/P17-1015/",
86
+ doi = "10.18653/v1/P17-1015",
87
+ pages = "158--167"
88
+ }
89
+ ```
data/dev.json ADDED
The diff for this file is too large to render. See raw diff
 
data/test.json ADDED
The diff for this file is too large to render. See raw diff
 
data/train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e30ec10f1a6d1d8b28a1ffb4f813375b9bb6a229d3cd7a66f403f02c359ca11d
3
+ size 49696979