Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
id
stringlengths
23
23
question
stringlengths
48
324
chain
stringlengths
77
265
result
stringlengths
1
13
result_float
float64
-10
67.1k
equation
stringlengths
5
66
expression
stringlengths
3
58
mawps__8kCVLDe7ByufbvB8
Mark had 2 Doll. Roland proffered him some more. Now Mark has 161 Doll. How many did Roland proffer him?
<gadget id="calculator">161 - 2</gadget> <output>159</output> <result>159</result>
159
159
x = 161 - 2
161-2
mawps__7bhf7hPk6pDUOioA
Gloria had some raspberry. Margaret gave him 7 more. Now Gloria has 33 raspberry. How many raspberry did Gloria have in the first?
<gadget id="calculator">33 - 7</gadget> <output>26</output> <result>26</result>
26
26
x = 33 - 7
33-7
mawps__8H7IbSn9KDIuz1S3
Tina had 7 raspberry . He hash each raspberry into 10 slices . How many raspberry slices did Tina make?
<gadget id="calculator">10 * 7</gadget> <output>70</output> <result>70</result>
70
70
x = 10 * 7
10*7
mawps__3KCjxPLB2Y4UshZq
Ernesto had some pear. Jimmie gave him 8 more. Now Ernesto has 35 pear. How many pear did Ernesto have primitively?
<gadget id="calculator">35 - 8</gadget> <output>27</output> <result>27</result>
27
27
x = 35 - 8
35-8
mawps__SrIKhLXVqMZKEN4x
Elizabeth had some cherry. Don took 74 from him. Now Elizabeth has 74 cherry. How many cherry Elizabeth had in the beginning?
<gadget id="calculator">74 + 74</gadget> <output>148</output> <result>148</result>
148
148
x = 74 + 74
74+74
mawps__Phk1dr5nJjXgUT9T
Joseph had 93 fig. Howard took 90 from him. Now How many fig Joseph have minus?
<gadget id="calculator">93 - 90</gadget> <output>3</output> <result>3</result>
3
3
x = 93 - 90
93-90
mawps__ChYfJ4YINrUtDVHb
Nichole had some plum. David took 25 from him. Now Nichole has 31 plum. How many plum Nichole had earlier?
<gadget id="calculator">31 + 25</gadget> <output>56</output> <result>56</result>
56
56
x = 31 + 25
31+25
mawps__slGmIDi2Ou5Pn3nv
Joseph had 1 blueberry. Jessica contributeed him some more. Now Joseph has 132 blueberry. How many did Jessica contribute him?
<gadget id="calculator">132 - 1</gadget> <output>131</output> <result>131</result>
131
131
x = 132 - 1
132-1
mawps__vsQUmXEBYTsY3nLt
Billy has 62 crayons. 52 are eaten by a hippopotamus. How many crayons will Billy have?
<gadget id="calculator">62 - 52</gadget> <output>10</output> <result>10</result>
10
10
x=(62.0-52.0)
(62.0-52.0)
mawps__8ASqmROJwtTGst3V
Cindy had some Banana. Mary gave him 3 more. Now Cindy has 11 Banana. How many Banana did Cindy have incipiently?
<gadget id="calculator">11 - 3</gadget> <output>8</output> <result>8</result>
8
8
x = 11 - 3
11-3
mawps__ZAwsiEctth0N0uFR
Stephanie had 13 Biscuit. Polly accorded him some more. Now Stephanie has 164 Biscuit. How many did Polly accord him?
<gadget id="calculator">164 - 13</gadget> <output>151</output> <result>151</result>
151
151
x = 164 - 13
164-13
mawps__4aB7cTA3kGTUobxv
Willie had 12 peach. Marvin gifted him some more. Now Willie has 167 peach. How many did Marvin gift him?
<gadget id="calculator">167 - 12</gadget> <output>155</output> <result>155</result>
155
155
x = 167 - 12
167-12
mawps__hcYca39S1rZ8bs8B
Winnie had some Biscuit. Anna took 19 from him. Now Winnie has 24 Biscuit. How many Biscuit Winnie had earlier?
<gadget id="calculator">24 + 19</gadget> <output>43</output> <result>43</result>
43
43
x = 24 + 19
24+19
mawps__InCaqFNkqXcNmmx2
Justin had some apricot. Jose gave him 7 more. Now Justin has 26 apricot. How many apricot did Justin have at first?
<gadget id="calculator">26 - 7</gadget> <output>19</output> <result>19</result>
19
19
x = 26 - 7
26-7
mawps__RbTYiPSUJpqDl4Vo
Cecelia had 187 blackcurrant. Wm took 71 from him. Now How many blackcurrant does Cecelia have now?
<gadget id="calculator">187 - 71</gadget> <output>116</output> <result>116</result>
116
116
x = 187 - 71
187-71
mawps__4JoIwDzHVSfm2H8h
Valerie had some lychee. Richard gave him 2 more. Now Valerie has 39 lychee. How many lychee did Valerie have initially?
<gadget id="calculator">39 - 2</gadget> <output>37</output> <result>37</result>
37
37
x = 39 - 2
39-2
mawps__ipzxQHk2HX0prboB
Teresa had 147 Biscuit. David clasped some Biscuit. Now Teresa has 11 Biscuit. How many did David claspeds?
<gadget id="calculator">147 - 11</gadget> <output>136</output> <result>136</result>
136
136
x = 147 - 11
147-11
mawps__38BwZG6UhUglCc0F
Rudy had some blackcurrant. Robert gave him 3 more. Now Rudy has 39 blackcurrant. How many blackcurrant did Rudy have incipiently?
<gadget id="calculator">39 - 3</gadget> <output>36</output> <result>36</result>
36
36
x = 39 - 3
39-3
mawps__MuEqSm2qE5uSs0Vu
Paul had 110 blueberry. Cristal took 90 from him. Now How many blueberry Paul have left over?
<gadget id="calculator">110 - 90</gadget> <output>20</output> <result>20</result>
20
20
x = 110 - 90
110-90
mawps__5hjx9zc6R21FSe3A
Desiree had 10 lime. David confered him some more. Now Desiree has 194 lime. How many did David confer him?
<gadget id="calculator">194 - 10</gadget> <output>184</output> <result>184</result>
184
184
x = 194 - 10
194-10
mawps__xdfHjdv0pARA7c2f
Logan recorded the snowfall every day during a snowstorm . He recorded 0.3333333333333333 centimeter on Wednesday , 0.3333333333333333 centimeter on Thursday , and 0.2222222222222222 centimeter on Friday . How many total centimeters of snow did Logan record ?
<gadget id="calculator">0.333333 + 0.333333 + 0.222222</gadget> <output>0.888888</output> <result>0.888888</result>
0.888888
0.888888
x = 0.3333333333333333 + 0.3333333333333333 + 0.2222222222222222
0.3333333333333333+0.3333333333333333+0.2222222222222222
mawps__iPS5sL1TR9W6Q3uh
Catherine had some Mango. James took 41 from him. Now Catherine has 47 Mango. How many Mango Catherine had incipiently?
<gadget id="calculator">47 + 41</gadget> <output>88</output> <result>88</result>
88
88
x = 47 + 41
47+41
mawps__img7f40Px83paSqs
You deposit 70 dollars in a savings account that pays an annual interest rate of 3 %. How much simple interest would you earn in 2.5 years , in dollars?
<gadget id="calculator">70 * 2.5 * 3 * 0.01</gadget> <output>5.25</output> <result>5.25</result>
5.25
5.25
x=70.0*2.5*3.0*0.01
70.0*2.5*3.0*0.01
mawps__KnPWMtfdNNLfXRq2
Ana had 252 Biscuit. Gail clutched some Biscuit. Now Ana has 70 Biscuit. How many did Gail clutcheds?
<gadget id="calculator">252 - 70</gadget> <output>182</output> <result>182</result>
182
182
x = 252 - 70
252-70
mawps__n5br0CFjhYeIG9wv
Nathan had 177 strawberry. John clutched some strawberry. Now Nathan has 84 strawberry. How many did John clutcheds?
<gadget id="calculator">177 - 84</gadget> <output>93</output> <result>93</result>
93
93
x = 177 - 84
177-84
mawps__qjxLyMP7KUCxebuo
Helen had some raspberry. Joetta took 87 from him. Now Helen has 91 raspberry. How many raspberry Helen had at first?
<gadget id="calculator">91 + 87</gadget> <output>178</output> <result>178</result>
178
178
x = 91 + 87
91+87
mawps__LmyYC5IbjNUkySEU
Deanna had 182 banana. John gripped some banana. Now Deanna has 48 banana. How many did John grippeds?
<gadget id="calculator">182 - 48</gadget> <output>134</output> <result>134</result>
134
134
x = 182 - 48
182-48
mawps__cOsnMNB81PwqOg7c
Emily collects 63 cards. Emily's father gives Emily 7 more. Bruce has 13 apples. How many cards does Emily have?
<gadget id="calculator">63 + 7</gadget> <output>70</output> <result>70</result>
70
70
x=(63.0+7.0)
(63.0+7.0)
mawps__pYNnFajs0akuTJp9
Eric had 297 Bread. Dorothy clutched some Bread. Now Eric has 36 Bread. How many did Dorothy clutcheds?
<gadget id="calculator">297 - 36</gadget> <output>261</output> <result>261</result>
261
261
x = 297 - 36
297-36
mawps__TgG0FGxI9awDoZ23
Marcie had 161 apricot. Therese grasped some apricot. Now Marcie has 60 apricot. How many did Therese graspeds?
<gadget id="calculator">161 - 60</gadget> <output>101</output> <result>101</result>
101
101
x = 161 - 60
161-60
mawps__TcFcQE1DaNGLe1Js
Wanda had 197 fig. Andrew took 11 from him. Now How many fig Wanda have take away?
<gadget id="calculator">197 - 11</gadget> <output>186</output> <result>186</result>
186
186
x = 197 - 11
197-11
mawps__E5zCt6vjQgnurByh
Eric had 25 raspberry. Kyle presented him some more. Now Eric has 101 raspberry. How many did Kyle present him?
<gadget id="calculator">101 - 25</gadget> <output>76</output> <result>76</result>
76
76
x = 101 - 25
101-25
mawps__SudiY2tSHSU8EiOc
Shirlee had some kiwi. Robbie took 79 from him. Now Shirlee has 81 kiwi. How many kiwi Shirlee had in the beginning?
<gadget id="calculator">81 + 79</gadget> <output>160</output> <result>160</result>
160
160
x = 81 + 79
81+79
mawps__YVuyU3YAtczhwryb
Rachel had 171 kiwi. Jeane took 100 from him. Now How many kiwi Rachel have reduced?
<gadget id="calculator">171 - 100</gadget> <output>71</output> <result>71</result>
71
71
x = 171 - 100
171-100
mawps__uMqQzwjHD9OVU6I9
Antonette had 256 avocado. Johnnie grabbed some avocado. Now Antonette has 33 avocado. How many did Johnnie grabbeds?
<gadget id="calculator">256 - 33</gadget> <output>223</output> <result>223</result>
223
223
x = 256 - 33
256-33
mawps__VFaKTEZljTSAdAz5
Tracy had 62 Chocolate. Johnnie took 51 from him. Now How many Chocolate Tracy have less than?
<gadget id="calculator">62 - 51</gadget> <output>11</output> <result>11</result>
11
11
x = 62 - 51
62-51
mawps__7dtGq8VhMYU1gRU1
Debra had 8 Car. Andrew furnished him some more. Now Debra has 61 Car. How many did Andrew furnish him?
<gadget id="calculator">61 - 8</gadget> <output>53</output> <result>53</result>
53
53
x = 61 - 8
61-8
mawps__moUCWmsgS7qnJHfr
Martha had 225 toy. Ida grabbed some toy. Now Martha has 75 toy. How many did Ida grabbeds?
<gadget id="calculator">225 - 75</gadget> <output>150</output> <result>150</result>
150
150
x = 225 - 75
225-75
mawps__Xzx7sSD9ylUPvwfd
Tonya had some toy. He hash each toy into 5 slices. If total 147 toy slices Tonya make, then how many toy Tonya had?
<gadget id="calculator">147 / 5</gadget> <output>147/5 = around 29.4</output> <result>147/5</result>
147/5
29.4
x = 147 / 5
147/5
mawps__x13STWNC9VvvhCXr
Viola had 36 seashells. Michelle donateed him some more. Now Viola has 151 seashells. How many did Michelle donate him?
<gadget id="calculator">151 - 36</gadget> <output>115</output> <result>115</result>
115
115
x = 151 - 36
151-36
mawps__smjqv5PrRHuGja3W
Curtis had 211 cherry. George get hold of some cherry. Now Curtis has 65 cherry. How many did George get hold ofs?
<gadget id="calculator">211 - 65</gadget> <output>146</output> <result>146</result>
146
146
x = 211 - 65
211-65
mawps__UzoymaVc8zJ4b3xz
Patricia had 27 pineapple. Donald accorded him some more. Now Patricia has 151 pineapple. How many did Donald accord him?
<gadget id="calculator">151 - 27</gadget> <output>124</output> <result>124</result>
124
124
x = 151 - 27
151-27
mawps__JjT6W7bpSXwzOGly
Terrance had some lemon. Michael took 29 from him. Now Terrance has 70 lemon. How many lemon Terrance had incipiently?
<gadget id="calculator">70 + 29</gadget> <output>99</output> <result>99</result>
99
99
x = 70 + 29
70+29
mawps__KP3tRseMQTzBUkVq
A bee colony produced 0.36 pounds of honey, but bears ate 0.05 pounds of it. How much honey remains?
<gadget id="calculator">0.36 - 0.05</gadget> <output>0.31</output> <result>0.31</result>
0.31
0.31
0.36 - 0.05 = x
0.36-0.05
mawps__XWDLy9GLgcSIwTta
Pat had some blackcurrant. Nancy took 37 from him. Now Pat has 56 blackcurrant. How many blackcurrant Pat had earlier?
<gadget id="calculator">56 + 37</gadget> <output>93</output> <result>93</result>
93
93
x = 56 + 37
56+37
mawps__80zfIHKuvdzJaRnE
Tammy had some pineapple. Sylvia gave him 1 more. Now Tammy has 13 pineapple. How many pineapple did Tammy have at first?
<gadget id="calculator">13 - 1</gadget> <output>12</output> <result>12</result>
12
12
x = 13 - 1
13-1
mawps__gxManv9XtzwbZpl1
Izetta had 192 blackcurrant. Estella clutched some blackcurrant. Now Izetta has 29 blackcurrant. How many did Estella clutcheds?
<gadget id="calculator">192 - 29</gadget> <output>163</output> <result>163</result>
163
163
x = 192 - 29
192-29
mawps__R0PuqK1VZddmWxdJ
Paco 's Countertop Company purchased pieces of marble from a quarry . The weights of the pieces they purchased were 0.3333333333333333 ton , 0.3333333333333333 ton , and 0.08333333333333333 ton . How many tons of marble did Paco 's Countertop Company purchase in all ?
<gadget id="calculator">0.333333 + 0.333333 + 0.083333</gadget> <output>0.749999</output> <result>0.749999</result>
0.749999
0.749999
x = 0.3333333333333333 + 0.3333333333333333 + 0.08333333333333333
0.3333333333333333+0.3333333333333333+0.08333333333333333
mawps__YR7B8QFQzypp4Zwl
While playing a video game , Paul scored 3103 points . He and his cousin together have a total of 5816 points . How many points does Paul 's cousin have ?
<gadget id="calculator">5_816 - 3_103</gadget> <output>2_713</output> <result>2_713</result>
2_713
2,713
x = 5816.0 - 3103.0
5816.0-3103.0
mawps__SOCmRhsKDq9247dy
You make candles and sell them for 15 dollars each. The material to make up to 20 candles costs 20 dollars. How many candles must you sell to have a profit of 85 dollars?
<gadget id="calculator">85 + 20</gadget> <output>105</output> <gadget id="calculator">105 / 15</gadget> <output>7</output> <result>7</result>
7
7
85.0=(15.0*x)-20.0
(85.0+20)/15.0
mawps__4q0ckmvYpwRdzpJ3
Jennifer had some Pen. Virgina gave him 3 more. Now Jennifer has 30 Pen. How many Pen did Jennifer have incipiently?
<gadget id="calculator">30 - 3</gadget> <output>27</output> <result>27</result>
27
27
x = 30 - 3
30-3
mawps__t8RS5MKAxAhWjdTn
Salvatore had 142 Chocolate. Betty grasped some Chocolate. Now Salvatore has 70 Chocolate. How many did Betty graspeds?
<gadget id="calculator">142 - 70</gadget> <output>72</output> <result>72</result>
72
72
x = 142 - 70
142-70
mawps__zCOwHrhYxHapfgYa
Christine had 185 Press. Gwendolyn clasped some Press. Now Christine has 29 Press. How many did Gwendolyn claspeds?
<gadget id="calculator">185 - 29</gadget> <output>156</output> <result>156</result>
156
156
x = 185 - 29
185-29
mawps__j7myGHBTr3nlHXcc
Last Saturday, Spencer walked all over town running errands. First, he walked 0.3 of a mile from his house to the library and 0.1 of a mile from the library to the post office. Then he walked 0.4 of a mile from the post office back home. How many miles did Spencer walk in all?
<gadget id="calculator">0.3 + 0.1 + 0.4</gadget> <output>0.8</output> <result>0.8</result>
0.8
0.8
0.3 + 0.1 + 0.4 = x
0.3+0.1+0.4
mawps__ThRiZbCuRWBWDQCG
Jennifer had some pear. He cut each pear into 13 slices. If total 196 pear slices Jennifer make, then how many pear Jennifer had?
<gadget id="calculator">196 / 13</gadget> <output>196/13 = around 15.076923</output> <result>196/13</result>
196/13
15.076923
x = 196 / 13
196/13
mawps__kpTsRAqPagbgheYt
Jody had 280 quince. Carolyn get hold of some quince. Now Jody has 2 quince. How many did Carolyn get hold ofs?
<gadget id="calculator">280 - 2</gadget> <output>278</output> <result>278</result>
278
278
x = 280 - 2
280-2
mawps__icrFB3RKVBWCdyB1
Anthony had some Car. He carve each Car into 29 slices. If total 157 Car slices Anthony make, then how many Car Anthony had?
<gadget id="calculator">157 / 29</gadget> <output>157/29 = around 5.413793</output> <result>157/29</result>
157/29
5.413793
x = 157 / 29
157/29
mawps__vB59zYigfhnRSy3Y
James had 30 Biscuit. Dorothy confered him some more. Now James has 98 Biscuit. How many did Dorothy confer him?
<gadget id="calculator">98 - 30</gadget> <output>68</output> <result>68</result>
68
68
x = 98 - 30
98-30
mawps__iF8YJMzHu3Ww06j9
Caridad had some pear. Harriett gave him 6 more. Now Caridad has 43 pear. How many pear did Caridad have incipiently?
<gadget id="calculator">43 - 6</gadget> <output>37</output> <result>37</result>
37
37
x = 43 - 6
43-6
mawps__mSxo6PK5bx5Mt7Rt
Ernest had 275 banana. Laura clasped some banana. Now Ernest has 40 banana. How many did Laura claspeds?
<gadget id="calculator">275 - 40</gadget> <output>235</output> <result>235</result>
235
235
x = 275 - 40
275-40
mawps__2H51GwCZFO3G0Hr4
Edelmira had some avocado. Terry gave him 1 more. Now Edelmira has 16 avocado. How many avocado did Edelmira have originally?
<gadget id="calculator">16 - 1</gadget> <output>15</output> <result>15</result>
15
15
x = 16 - 1
16-1
mawps__q3KFoWbfjW7xAUQj
Clifford had 186 Car. Eric clutched some Car. Now Clifford has 20 Car. How many did Eric clutcheds?
<gadget id="calculator">186 - 20</gadget> <output>166</output> <result>166</result>
166
166
x = 186 - 20
186-20
mawps__cj46iteLTQ97YVSf
Darrell had some Book. Jamie took 46 from him. Now Darrell has 53 Book. How many Book Darrell had incipiently?
<gadget id="calculator">53 + 46</gadget> <output>99</output> <result>99</result>
99
99
x = 53 + 46
53+46
mawps__6eiYMuqMMejjVhMP
Charles had some raspberry. Gloria gave him 2 more. Now Charles has 17 raspberry. How many raspberry did Charles have to begin with?
<gadget id="calculator">17 - 2</gadget> <output>15</output> <result>15</result>
15
15
x = 17 - 2
17-2
mawps__lnyUebwLAeb9bV6Y
Kenneth had 165 peach. Teri grasped some peach. Now Kenneth has 98 peach. How many did Teri graspeds?
<gadget id="calculator">165 - 98</gadget> <output>67</output> <result>67</result>
67
67
x = 165 - 98
165-98
mawps__4ahBxMwWwZITXnQM
Vernon had 234 coconut. Keisha take hold of some coconut. Now Vernon has 85 coconut. How many did Keisha take hold ofs?
<gadget id="calculator">234 - 85</gadget> <output>149</output> <result>149</result>
149
149
x = 234 - 85
234-85
mawps__xmdRIDlTSskryNUQ
Shelly had 7 blueberry. Joseph supplyed him some more. Now Shelly has 151 blueberry. How many did Joseph supply him?
<gadget id="calculator">151 - 7</gadget> <output>144</output> <result>144</result>
144
144
x = 151 - 7
151-7
mawps__PvreECISpxDiA8mj
Dale had 287 Bread. Dorothy grasped some Bread. Now Dale has 35 Bread. How many did Dorothy graspeds?
<gadget id="calculator">287 - 35</gadget> <output>252</output> <result>252</result>
252
252
x = 287 - 35
287-35
mawps__QxcdFHIMDNVjuldS
Charles had 185 Press. Barbara took 88 from him. Now How many Press Charles have difference?
<gadget id="calculator">185 - 88</gadget> <output>97</output> <result>97</result>
97
97
x = 185 - 88
185-88
mawps__jDQNHMxELKgcKJrU
Melissa had some blackcurrant. Alisha gave him 6 more. Now Melissa has 32 blackcurrant. How many blackcurrant did Melissa have primitively?
<gadget id="calculator">32 - 6</gadget> <output>26</output> <result>26</result>
26
26
x = 32 - 6
32-6
mawps__ciq1vNDQOnDh063u
Christopher had 178 blackberry. Christi lay hold of some blackberry. Now Christopher has 38 blackberry. How many did Christi lay hold of?
<gadget id="calculator">178 - 38</gadget> <output>140</output> <result>140</result>
140
140
x = 178 - 38
178-38
mawps__6R1P2sOy778rC6TQ
Diane had 165 Chocolate. Wm took 55 from him. Now How many Chocolate Diane have difference?
<gadget id="calculator">165 - 55</gadget> <output>110</output> <result>110</result>
110
110
x = 165 - 55
165-55
mawps__B3VzeRxDmONtf79W
Frank had 288 papaya. Edith lay hold of some papaya. Now Frank has 1 papaya. How many did Edith lay hold ofs?
<gadget id="calculator">288 - 1</gadget> <output>287</output> <result>287</result>
287
287
x = 288 - 1
288-1
mawps__AuH96NUySjDDRefJ
Charles has 4 apples. Jessica gives Charles 39 more. How many apples does Charles have in all?
<gadget id="calculator">4 + 39</gadget> <output>43</output> <result>43</result>
43
43
x=(4.0+39.0)
(4.0+39.0)
mawps__WBfSWtDP6ZXxNGSg
A ship is filled with 5,973 tons of cargo. It stops in the Bahamas, where sailors load 8,723 more tons of cargo onboard. How many tons of cargo does the ship hold now?
<gadget id="calculator">5_973 + 8_723</gadget> <output>14_696</output> <result>14_696</result>
14_696
14,696
5973+8723=x
5973+8723
mawps__QXBMBUhwkzFAYpwS
Robert had 40 strawberry. Frieda awarded him some more. Now Robert has 165 strawberry. How many did Frieda award him?
<gadget id="calculator">165 - 40</gadget> <output>125</output> <result>125</result>
125
125
x = 165 - 40
165-40
mawps__04k4t1yHRhmwNYOo
Donald had 165 toy. Donna clutched some toy. Now Donald has 99 toy. How many did Donna clutcheds?
<gadget id="calculator">165 - 99</gadget> <output>66</output> <result>66</result>
66
66
x = 165 - 99
165-99
mawps__vJNvosltwwGXEWEu
Willis had 215 apple. Ethel gripped some apple. Now Willis has 61 apple. How many did Ethel grippeds?
<gadget id="calculator">215 - 61</gadget> <output>154</output> <result>154</result>
154
154
x = 215 - 61
215-61
mawps__sMCgAX6NziEqRvVp
Kelly had some Box. Jose gave him 6 more. Now Kelly has 31 Box. How many Box did Kelly have originally?
<gadget id="calculator">31 - 6</gadget> <output>25</output> <result>25</result>
25
25
x = 31 - 6
31-6
mawps__6WA7SlTicToEBzgg
Micah had 231 cherry. James take hold of some cherry. Now Micah has 27 cherry. How many did James take hold ofs?
<gadget id="calculator">231 - 27</gadget> <output>204</output> <result>204</result>
204
204
x = 231 - 27
231-27
mawps__ZMiVJoiJp41yV3fr
Michael had 159 Doll. Pearl grasped some Doll. Now Michael has 76 Doll. How many did Pearl graspeds?
<gadget id="calculator">159 - 76</gadget> <output>83</output> <result>83</result>
83
83
x = 159 - 76
159-76
mawps__eJTiJkx0SMqSDeLf
Glendora had some nectarine. Ruby took 14 from him. Now Glendora has 34 nectarine. How many nectarine Glendora had in the first?
<gadget id="calculator">34 + 14</gadget> <output>48</output> <result>48</result>
48
48
x = 34 + 14
34+14
mawps__top4FKFb6CQPQutr
Francine had 291 strawberry. Anna grabbed some strawberry. Now Francine has 69 strawberry. How many did Anna grabbeds?
<gadget id="calculator">291 - 69</gadget> <output>222</output> <result>222</result>
222
222
x = 291 - 69
291-69
mawps__Cj96eOOzYNdiEh2U
Robert had some Doll. Benjamin took 79 from him. Now Robert has 94 Doll. How many Doll Robert had in the beginning?
<gadget id="calculator">94 + 79</gadget> <output>173</output> <result>173</result>
173
173
x = 94 + 79
94+79
mawps__i00qsrmWcoXVuyO6
A recipe calls for 0.6667 cup of diced green pepper. Give the number of cups of diced green pepper that should be used to make 0.5 of this recipe.
<gadget id="calculator">0.6667 * 0.5</gadget> <output>0.33335</output> <result>0.33335</result>
0.33335
0.33335
x=0.6667*0.5
0.6667*0.5
mawps__3QFLXzZQvSJqY3BT
Norma had some lemon. Patricia gave him 7 more. Now Norma has 14 lemon. How many lemon did Norma have originally?
<gadget id="calculator">14 - 7</gadget> <output>7</output> <result>7</result>
7
7
x = 14 - 7
14-7
mawps__6RMnMOzwfmEwVZo4
Janessa had 21 Doll. Diana granted him some more. Now Janessa has 82 Doll. How many did Diana grant him?
<gadget id="calculator">82 - 21</gadget> <output>61</output> <result>61</result>
61
61
x = 82 - 21
82-21
mawps__5i7VH6cBKApEc1To
James had 7 pineapple . He hash each pineapple into 3 slices . How many pineapple slices did James make?
<gadget id="calculator">3 * 7</gadget> <output>21</output> <result>21</result>
21
21
x = 3 * 7
3*7
mawps__9qyNNVngzuCMRpLa
Troy had 105 quince. Nolan clutched some quince. Now Troy has 84 quince. How many did Nolan clutcheds?
<gadget id="calculator">105 - 84</gadget> <output>21</output> <result>21</result>
21
21
x = 105 - 84
105-84
mawps__bWKXnWM1ZEDPQAxW
Lee had 145 Box. Grant took 76 from him. Now How many Box Lee have minus?
<gadget id="calculator">145 - 76</gadget> <output>69</output> <result>69</result>
69
69
x = 145 - 76
145-76
mawps__ILwuceVoAJMqLc03
Todd had 143 apricot. Jacob grasped some apricot. Now Todd has 53 apricot. How many did Jacob graspeds?
<gadget id="calculator">143 - 53</gadget> <output>90</output> <result>90</result>
90
90
x = 143 - 53
143-53
mawps__D7r7lFuBL9rrmojM
Cameron had some cherry. George gave him 3 more. Now Cameron has 30 cherry. How many cherry did Cameron have to begin with?
<gadget id="calculator">30 - 3</gadget> <output>27</output> <result>27</result>
27
27
x = 30 - 3
30-3
mawps__ikKDBtBVxEcavpro
Wendy had some Doll. Theresa gave him 6 more. Now Wendy has 11 Doll. How many Doll did Wendy have primitively?
<gadget id="calculator">11 - 6</gadget> <output>5</output> <result>5</result>
5
5
x = 11 - 6
11-6
mawps__Evx19yE5U6t5New7
Tommy had 11 toy. Thomas awarded him some more. Now Tommy has 198 toy. How many did Thomas award him?
<gadget id="calculator">198 - 11</gadget> <output>187</output> <result>187</result>
187
187
x = 198 - 11
198-11
mawps__VcMEFGUMDum7nEz3
Deborah had 70 peach. Alan took 46 from him. Now How many peach Deborah have left over?
<gadget id="calculator">70 - 46</gadget> <output>24</output> <result>24</result>
24
24
x = 70 - 46
70-46
mawps__sRjxWyZW3kI1Km5T
Joel had some Doll. Katherine gave him 4 more. Now Joel has 32 Doll. How many Doll did Joel have primitively?
<gadget id="calculator">32 - 4</gadget> <output>28</output> <result>28</result>
28
28
x = 32 - 4
32-4
mawps__y8l3WDHXJntKb9HW
John had some papaya. Joshua took 44 from him. Now John has 88 papaya. How many papaya John had originally?
<gadget id="calculator">88 + 44</gadget> <output>132</output> <result>132</result>
132
132
x = 88 + 44
88+44
mawps__IhIxpZ4XA3gM5WYO
James had some pear. He dice each pear into 10 slices. If total 102 pear slices James make, then how many pear James had?
<gadget id="calculator">102 / 10</gadget> <output>51/5 = around 10.2</output> <result>51/5</result>
51/5
10.2
x = 102 / 10
102/10
mawps__ONhdHyEbtx8i2m1c
Sarah had 112 Bread. Oliver took 13 from him. Now How many Bread Sarah have left over?
<gadget id="calculator">112 - 13</gadget> <output>99</output> <result>99</result>
99
99
x = 112 - 13
112-13
mawps__XnzKc3coJs0fcY0X
The library is divided into different sections for different type of books. The science fiction section has 8 books. If each book has 478 pages, how many pages do all the books have in total?
<gadget id="calculator">8 * 478</gadget> <output>3_824</output> <result>3_824</result>
3_824
3,824
8*478=x
8*478

Dataset Card for Calc-MAWPS

Summary

The dataset is a collection of simple math word problems focused on arithmetics. It is derived from https://huggingface.co/datasets/omarxadel/MaWPS-ar.

The main addition in this dataset variant is the chain column. It was created by converting the solution to a simple html-like language that can be easily parsed (e.g. by BeautifulSoup). The data contains 3 types of tags:

  • gadget: A tag whose content is intended to be evaluated by calling an external tool (sympy-based calculator in this case)
  • output: An output of the external tool
  • result: The final answer to the mathematical problem (a number)

Supported Tasks

This variant of the dataset is intended for training Chain-of-Thought reasoning models able to use external tools to enhance the factuality of their responses. This dataset presents in-context scenarios where models can outsource the computations in the reasoning chain to a calculator.

Data splits

We provide 2 variants of the dataset. In the first one, the data splits correspond to the original one and can be loaded using:

datasets.load_dataset("MU-NLPC/calc-mawps", "original-splits")

The second one is filtered to prevent data leaks (overly similar examples in train and test/val splits) in between and across datasets in Calc-X collection. Specifically, we filtered out around 2,500 near-duplicates from the train set that were similar to some instances in the MAWPS val and test splits and ASDiv-A test split. You can load this variant via:

datasets.load_dataset("MU-NLPC/calc-mawps")

Attributes:

  • id: id of the example
  • question: problem description in English
  • question_arabic: problem description in Arabic
  • chain: series of simple operations (derived from expression) that lead to the solution
  • result: the solution for x as a number or fraction (string)
  • result_float: same as result but converted to a float
  • equation: an equation that needs to be solved for x to obtain the result. Usually in the form of "x = ..." but not always.
  • expression: arithmetic expression derived from equation that solves it for x

Attributes id, question, chain, and result are present in all datasets in Calc-X collection.

Related work

This dataset was created as a part of a larger effort in training models capable of using a calculator during inference, which we call Calcformers.

Here are links to the original dataset:

Licence

MIT, consistent with the original source dataset linked above.

Cite

If you use this version of the dataset in research, please cite the original MAWPS paper, and Calc-X paper as follows:

@inproceedings{kadlcik-etal-2023-soft,
    title = "Calc-X and Calcformers: Empowering Arithmetical Chain-of-Thought through Interaction with Symbolic Systems",
    author = "Marek Kadlčík and Michal Štefánik and Ondřej Sotolář and Vlastimil Martinek",
    booktitle = "Proceedings of the The 2023 Conference on Empirical Methods in Natural Language Processing: Main track",
    month = dec,
    year = "2023",
    address = "Singapore, Singapore",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/2305.15017",
}
Downloads last month
5,368
Edit dataset card

Collection including MU-NLPC/Calc-mawps