Create the dataset We load Open R1 Math dataset (a math problem dataset) and format it for reasoning. Each sample includes:
– A system prompt enforcing structured reasoning
– A question from the dataset
– The answer in the required format Check this code
Formatting Open R1 Math Dataset for Reasoning Training
By
–
