openai / grade-school-math

992 stars 145 forks source link

Correct a minor numerical mistake in the `train.jsonl` #15

Open SuperBruceJia opened 9 months ago

SuperBruceJia commented 9 months ago

In the train.jsonl file:

The final numerical answer of one example is wrong:

Original:

{"question": "In a yard, the number of tanks is five times the number of trucks. If there are 20 trucks in the yard, calculate the total number of tanks and trucks in the yard.", "answer": "There are 5*20 = <<5*20=100>>100 tanks in the yard.\nAltogether, there are 100+20 = <<100+20=120>>120 trucks and tanks in the yard.\n#### 140"}

Should be:

{"question": "In a yard, the number of tanks is five times the number of trucks. If there are 20 trucks in the yard, calculate the total number of tanks and trucks in the yard.", "answer": "There are 5*20 = <<5*20=100>>100 tanks in the yard.\nAltogether, there are 100+20 = <<100+20=120>>120 trucks and tanks in the yard.\n#### 120"}

Another example is:

Original:

{"question": "Carl is figuring out how much he'll need to spend on gas for his upcoming road trip to the Grand Canyon. His car gets 30 miles per gallon in cities and 40 miles per gallon on the highway. The distance from his house to the Grand Canyon, one way, is 60 city miles and 200 highway miles.  If gas costs $3.00 per gallon, how much will Carl need to spend?", "answer": "First figure out how many city miles Carl will drive round trip by multiplying the one-way number of city miles by 2: 60 miles * 2 = <<60*2=120>>120 miles\nThen figure out how many highway miles Carl will drive round trip by multiplying the one-way number of highway miles by 2: 200 miles * 2 = <<200*2=400>>400 miles\nNow divide the round-trip number of city miles by the number of city miles per gallon Carl's car gets: 120 miles / 30 mpg = <<120/30=4>>4 gallons\nNow divide the round-trip number of highway miles by the number of highway miles per gallon Carl's car gets: 400 miles / 40 mpg = <<400/40=10>>10 gallons\nNow add the gallons for the highway miles and the city miles to find the total number of gallons Carl needs to buy: 10 gallons + 4 gallons = <<10+4=14>>14 gallons\nFinally, multiply the number of gallons Carl needs to buy by the cost per gallon to find out how much he spends: 14 gallons * $3.00 = $<<14*3=42.00>>42.00\n#### 42"}

According to the original answer, the road trip should be round trip:

{"question": "Carl is figuring out how much he'll need to spend on gas for his upcoming round trip to the Grand Canyon. His car gets 30 miles per gallon in cities and 40 miles per gallon on the highway. The distance from his house to the Grand Canyon, one way, is 60 city miles and 200 highway miles.  If gas costs $3.00 per gallon, how much will Carl need to spend?", "answer": "First figure out how many city miles Carl will drive round trip by multiplying the one-way number of city miles by 2: 60 miles * 2 = <<60*2=120>>120 miles\nThen figure out how many highway miles Carl will drive round trip by multiplying the one-way number of highway miles by 2: 200 miles * 2 = <<200*2=400>>400 miles\nNow divide the round-trip number of city miles by the number of city miles per gallon Carl's car gets: 120 miles / 30 mpg = <<120/30=4>>4 gallons\nNow divide the round-trip number of highway miles by the number of highway miles per gallon Carl's car gets: 400 miles / 40 mpg = <<400/40=10>>10 gallons\nNow add the gallons for the highway miles and the city miles to find the total number of gallons Carl needs to buy: 10 gallons + 4 gallons = <<10+4=14>>14 gallons\nFinally, multiply the number of gallons Carl needs to buy by the cost per gallon to find out how much he spends: 14 gallons * $3.00 = $<<14*3=42.00>>42.00\n#### 42"}

Best regards,

Shuyue Nov. 25th, 2023

matthewa313 commented 9 months ago

Thank you for pointing these out!

iamansinha commented 2 months ago

@matthewa313 Will this not be merged?