prompt listlengths 3 3 |
|---|
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Compute 3 + 4 x 5."
},
{
"role": "assistant",
"content": "Multiplication comes before addition. 4 x 5 =... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is 15% of 240?"
},
{
"role": "assistant",
"content": "15% = 0.15, and 0.15 x 240 = 36.\n\nThe answ... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Simplify 3/4 + 1/6."
},
{
"role": "assistant",
"content": "The common denominator is 12. 3/4 = 9/12 and... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Solve for x: 2x + 7 = 19."
},
{
"role": "assistant",
"content": "Subtract 7: 2x = 12. Divide by 2: x = ... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "If x + y = 10 and x - y = 4, find x."
},
{
"role": "assistant",
"content": "Add the two equations: 2x =... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Solve x^2 - 5x + 6 = 0 and give the larger root."
},
{
"role": "assistant",
"content": "Factor: (x - 2)... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A rectangle is 8 cm by 5 cm. What is its area?"
},
{
"role": "assistant",
"content": "Area = length x w... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A right triangle has legs 6 and 8. Find the hypotenuse."
},
{
"role": "assistant",
"content": "By the P... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is gcd(48, 36)?"
},
{
"role": "assistant",
"content": "48 = 2^4 x 3 and 36 = 2^2 x 3^2. The gcd ta... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is lcm(4, 6)?"
},
{
"role": "assistant",
"content": "4 = 2^2 and 6 = 2 x 3. The lcm takes the high... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "How many ways can the letters of 'CAT' be arranged?"
},
{
"role": "assistant",
"content": "Three distin... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "How many ways are there to choose 2 items from 5?"
},
{
"role": "assistant",
"content": "C(5,2) = 5! / ... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A fair coin is flipped 3 times. What is the probability of exactly 2 heads?"
},
{
"role": "assistant",
... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "The arithmetic sequence 3, 7, 11, ... has first term 3 and common difference 4. Find the 10th term."
},
{
"... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "The geometric sequence 2, 6, 18, ... has ratio 3. Find the 5th term."
},
{
"role": "assistant",
"conten... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A car travels 150 miles in 3 hours. What is its average speed in mph?"
},
{
"role": "assistant",
"conte... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "If 5 workers build a wall in 12 days, how many days do 3 workers need at the same rate?"
},
{
"role": "assi... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Mix 2 L of 30% acid with 3 L of 80% acid. What is the final concentration, in percent?"
},
{
"role": "assis... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is the sum of the first 100 positive integers?"
},
{
"role": "assistant",
"content": "The sum is n... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Compute 2^10."
},
{
"role": "assistant",
"content": "2^10 = 1024.\n\nThe answer is \\boxed{1024}."
}
... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is log base 2 of 32?"
},
{
"role": "assistant",
"content": "32 = 2^5, so log_2(32) = 5.\n\nThe ans... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Simplify sqrt(72)."
},
{
"role": "assistant",
"content": "72 = 36 x 2, so sqrt(72) = sqrt(36) x sqrt(2)... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A circle has radius 7. Using pi = 22/7, find its area."
},
{
"role": "assistant",
"content": "Area = pi... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is the sum of the interior angles of a hexagon?"
},
{
"role": "assistant",
"content": "For an n-go... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Two quantities are in ratio 3:5 and total 40. What is the larger quantity?"
},
{
"role": "assistant",
"... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A value is 20% more than 50. What is it?"
},
{
"role": "assistant",
"content": "20% of 50 is 10, so the... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "After a 20% discount an item costs 80. What was the original price?"
},
{
"role": "assistant",
"content... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Find the median of 3, 7, 9, 11, 15."
},
{
"role": "assistant",
"content": "With five sorted values the ... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Find the mean of 4, 8, 15, 16, 23, 42."
},
{
"role": "assistant",
"content": "The sum is 108 and there ... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Solve 3(x - 2) = 2x + 1."
},
{
"role": "assistant",
"content": "Expand: 3x - 6 = 2x + 1. Subtract 2x: x... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "How many prime numbers are less than 20?"
},
{
"role": "assistant",
"content": "They are 2, 3, 5, 7, 11... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Compute 17 mod 5."
},
{
"role": "assistant",
"content": "17 = 3 x 5 + 2, so the remainder is 2.\n\nThe ... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Write 0.75 as a fraction in lowest terms."
},
{
"role": "assistant",
"content": "0.75 = 75/100 = 3/4.\n... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A square has area 49. What is its perimeter?"
},
{
"role": "assistant",
"content": "The side is sqrt(49... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A number tripled and then decreased by 4 equals 20. Find the number."
},
{
"role": "assistant",
"conten... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Find the distance between (0, 0) and (3, 4)."
},
{
"role": "assistant",
"content": "Distance = sqrt(3^2... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Find the slope of the line through (1, 2) and (3, 8)."
},
{
"role": "assistant",
"content": "Slope = (8... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Compute 5!."
},
{
"role": "assistant",
"content": "5! = 5 x 4 x 3 x 2 x 1 = 120.\n\nThe answer is \\box... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is the probability that two fair dice sum to 7?"
},
{
"role": "assistant",
"content": "There are 6... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Invest 1000 at 10% annual interest compounded yearly for 2 years. What is the final amount?"
},
{
"role": "... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "If f(x) = 2x + 3, what is f(5)?"
},
{
"role": "assistant",
"content": "f(5) = 2 x 5 + 3 = 13.\n\nThe an... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Solve |x - 3| = 5 and give the larger solution."
},
{
"role": "assistant",
"content": "x - 3 = 5 or x -... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A triangle has base 10 and height 6. What is its area?"
},
{
"role": "assistant",
"content": "Area = (1... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "12 is what percent of 48?"
},
{
"role": "assistant",
"content": "12 / 48 = 0.25 = 25%.\n\nThe answer is... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "What is the next term in 1, 4, 9, 16, ...?"
},
{
"role": "assistant",
"content": "These are the perfect... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "How many diagonals does a pentagon have?"
},
{
"role": "assistant",
"content": "A polygon has n(n - 3)/... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "Compute sqrt(144) + sqrt(25)."
},
{
"role": "assistant",
"content": "sqrt(144) = 12 and sqrt(25) = 5, s... |
[
{
"role": "system",
"content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."
},
{
"role": "user",
"content": "A shirt costs 25 and is marked up by 40%. What is the new price?"
},
{
"role": "assistant",
"content": ... |
Math Reasoning, sample dataset
A small, illustrative sample for fine-tuning a model to solve math problems step by step and give a checkable final answer. It accompanies the cookbook Fine-tune gpt-oss for math reasoning with Halo.
This is a format-illustration sample (48 rows), not a production training set. It shows the exact record shape the recipe expects; swap in a larger corpus at scale.
Configs
| Config | File | Schema | Used by |
|---|---|---|---|
sft (default) |
sft.jsonl |
{"prompt": [system, user, assistant]} |
supervised fine-tuning |
labeled |
labeled.jsonl |
{"question": str, "answer": str} |
online-GRPO verifiable reward |
The sft split teaches the format, reason through the problem then state the final
answer wrapped in \boxed{...} so it can be parsed with one regex. The labeled split
carries the same problems with only the gold answer, for the reinforcement-learning stage
that rewards correct answers directly.
Record example (sft)
{
"prompt": [
{"role": "system", "content": "You are a math tutor. Solve the problem step by step, then give the final answer on the last line as \\boxed{...}."},
{"role": "user", "content": "A right triangle has legs 6 and 8. Find the hypotenuse."},
{"role": "assistant", "content": "By the Pythagorean theorem, h = sqrt(6^2 + 8^2) = sqrt(100) = 10.\n\nThe answer is \\boxed{10}."}
]
}
Composition
48 problems spanning arithmetic, fractions and percentages, linear and quadratic equations, geometry, number theory, combinatorics and probability, sequences, and word problems (rates, mixtures, work, compound interest). Answers are integers, simple fractions, or a small radical, chosen so an exact-match grader can score them cleanly.
Intended use
Supervised fine-tuning and RLVR for step-by-step math reasoning, as in the linked cookbook. For a real run, scale to a few thousand problems with worked solutions and raise the completion budget so the model has room to reason.
- Downloads last month
- 2