Datasets:
messages listlengths 2 2 | task stringclasses 7
values | meta unknown |
|---|---|---|
[
{
"role": "user",
"content": "If it is January now, what month will it be in 1052 months?"
},
{
"role": "assistant",
"content": "September"
}
] | months | {
"start_month": "January",
"offset": 380,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "522 + 435"
},
{
"role": "assistant",
"content": "1260"
}
] | addition | {
"a": 261,
"b": 222,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 1011 hours after 12 o'clock?"
},
{
"role": "assistant",
"content": "15"
}
] | hour_12 | {
"start_hour": 9,
"offset": 351,
"direction": "after",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "What day is 433 days after Saturday?"
},
{
"role": "assistant",
"content": "Tuesday"
}
] | days_of_week | {
"start_day": "Saturday",
"offset": 220,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What is 35062 mod 10?"
},
{
"role": "assistant",
"content": "2"
}
] | mod | {
"n": 8962,
"k": 7,
"base": 7
} |
[
{
"role": "user",
"content": "If today is Tuesday, what day is it 1164 days from now?"
},
{
"role": "assistant",
"content": "Saturday"
}
] | days_of_week | {
"start_day": "Tuesday",
"offset": 438,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What day is 2603 days after Sunday?"
},
{
"role": "assistant",
"content": "Wednesday"
}
] | days_of_week | {
"start_day": "Sunday",
"offset": 983,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What is 15306 mod 3?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 4269,
"k": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What day is 2205 days after Wednesday?"
},
{
"role": "assistant",
"content": "Monday"
}
] | days_of_week | {
"start_day": "Wednesday",
"offset": 789,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "If it is 24:00 now, what time was it 1324 hours ago?"
},
{
"role": "assistant",
"content": "20"
}
] | hour_24 | {
"start_hour": 18,
"offset": 508,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "1251 months before March is"
},
{
"role": "assistant",
"content": "June"
}
] | months | {
"start_month": "March",
"offset": 477,
"direction": "before",
"base": 7
} |
[
{
"role": "user",
"content": "If the clock shows 12 o'clock, what did it show 0 hours ago?"
},
{
"role": "assistant",
"content": "12"
}
] | hour_12 | {
"start_hour": 9,
"offset": 0,
"direction": "before",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "What day is 2212 days after Tuesday?"
},
{
"role": "assistant",
"content": "Thursday"
}
] | days_of_week | {
"start_day": "Tuesday",
"offset": 793,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "If today is Thursday, what day is it 2566 days from now?"
},
{
"role": "assistant",
"content": "Wednesday"
}
] | days_of_week | {
"start_day": "Thursday",
"offset": 979,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 1513 hours before 3:00 (24-hour clock)?"
},
{
"role": "assistant",
"content": "5"
}
] | hour_24 | {
"start_hour": 3,
"offset": 598,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "If today is Sunday, what day was it 362 days ago?"
},
{
"role": "assistant",
"content": "Friday"
}
] | days_of_week | {
"start_day": "Sunday",
"offset": 191,
"direction": "before",
"base": 7
} |
[
{
"role": "user",
"content": "5263 + 6430 = ?"
},
{
"role": "assistant",
"content": "15023"
}
] | addition | {
"a": 1858,
"b": 2275,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "What is 3415 plus 2640?"
},
{
"role": "assistant",
"content": "6355"
}
] | addition | {
"a": 1237,
"b": 1008,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "If the clock shows 1 o'clock, what will it show in 2263 hours?"
},
{
"role": "assistant",
"content": "2"
}
] | hour_12 | {
"start_hour": 1,
"offset": 829,
"direction": "after",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "14255 % 3 = ?"
},
{
"role": "assistant",
"content": "2"
}
] | mod | {
"n": 3911,
"k": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 33023 is divided by 13?"
},
{
"role": "assistant",
"content": "12"
}
] | mod | {
"n": 8249,
"k": 10,
"base": 7
} |
[
{
"role": "user",
"content": "What is 12156 mod 2?"
},
{
"role": "assistant",
"content": "1"
}
] | mod | {
"n": 3177,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "1464 + 4461 = ?"
},
{
"role": "assistant",
"content": "6255"
}
] | addition | {
"a": 585,
"b": 1611,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "212 + 164 = ?"
},
{
"role": "assistant",
"content": "406"
}
] | addition | {
"a": 107,
"b": 95,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "14623 % 10 = ?"
},
{
"role": "assistant",
"content": "3"
}
] | mod | {
"n": 4084,
"k": 7,
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 23261 is divided by 2?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 5972,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "What is 36041 mod 13?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 9290,
"k": 10,
"base": 7
} |
[
{
"role": "user",
"content": "What is 6103 plus 2104?"
},
{
"role": "assistant",
"content": "11210"
}
] | addition | {
"a": 2110,
"b": 739,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "445 x 140"
},
{
"role": "assistant",
"content": "102260"
}
] | multiplication | {
"a": 229,
"b": 77,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "2152 hours after 4 o'clock is"
},
{
"role": "assistant",
"content": "11"
}
] | hour_12 | {
"start_hour": 4,
"offset": 772,
"direction": "after",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "If it is 15:00 now, what time is it in 2620 hours?"
},
{
"role": "assistant",
"content": "31"
}
] | hour_24 | {
"start_hour": 12,
"offset": 994,
"direction": "after",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "What is the remainder when 10365 is divided by 2?"
},
{
"role": "assistant",
"content": "1"
}
] | mod | {
"n": 2595,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "2014 hours before 14:00 is"
},
{
"role": "assistant",
"content": "13"
}
] | hour_24 | {
"start_hour": 11,
"offset": 697,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "What is 12423 mod 2?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 3300,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "2544 hours before 25:00 is"
},
{
"role": "assistant",
"content": "22"
}
] | hour_24 | {
"start_hour": 19,
"offset": 963,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "Multiply 225 by 543."
},
{
"role": "assistant",
"content": "163101"
}
] | multiplication | {
"a": 117,
"b": 276,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "446 * 223 = ?"
},
{
"role": "assistant",
"content": "140054"
}
] | multiplication | {
"a": 230,
"b": 115,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What is 326 times 440?"
},
{
"role": "assistant",
"content": "214030"
}
] | multiplication | {
"a": 167,
"b": 224,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What is 24050 mod 10?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 6209,
"k": 7,
"base": 7
} |
[
{
"role": "user",
"content": "If it is 1:00 now, what time is it in 2044 hours?"
},
{
"role": "assistant",
"content": "32"
}
] | hour_24 | {
"start_hour": 1,
"offset": 718,
"direction": "after",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "If it is April now, what month will it be in 1555 months?"
},
{
"role": "assistant",
"content": "August"
}
] | months | {
"start_month": "April",
"offset": 628,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 2352 hours before 6:00 (24-hour clock)?"
},
{
"role": "assistant",
"content": "0"
}
] | hour_24 | {
"start_hour": 6,
"offset": 870,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "If the clock shows 15 o'clock, what will it show in 155 hours?"
},
{
"role": "assistant",
"content": "5"
}
] | hour_12 | {
"start_hour": 12,
"offset": 89,
"direction": "after",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "40561 % 6 = ?"
},
{
"role": "assistant",
"content": "4"
}
] | mod | {
"n": 9892,
"k": 6,
"base": 7
} |
[
{
"role": "user",
"content": "Multiply 436 by 120."
},
{
"role": "assistant",
"content": "55650"
}
] | multiplication | {
"a": 223,
"b": 63,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "635 hours before 30:00 is"
},
{
"role": "assistant",
"content": "16"
}
] | hour_24 | {
"start_hour": 21,
"offset": 320,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "If it is 30:00 now, what time is it in 2603 hours?"
},
{
"role": "assistant",
"content": "26"
}
] | hour_24 | {
"start_hour": 21,
"offset": 983,
"direction": "after",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "What is the remainder when 36605 is divided by 13?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 9560,
"k": 10,
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 13015 is divided by 2?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 3442,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "What is 6053 mod 2?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 2096,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "42 + 13"
},
{
"role": "assistant",
"content": "55"
}
] | addition | {
"a": 30,
"b": 10,
"digits": 2,
"base": 7
} |
[
{
"role": "user",
"content": "What is 5203 mod 2?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 1816,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "5355 + 4436"
},
{
"role": "assistant",
"content": "13124"
}
] | addition | {
"a": 1902,
"b": 1595,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "1150 hours before 6:00 is"
},
{
"role": "assistant",
"content": "14"
}
] | hour_24 | {
"start_hour": 6,
"offset": 427,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "1430 months after November is"
},
{
"role": "assistant",
"content": "July"
}
] | months | {
"start_month": "November",
"offset": 560,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 10565 is divided by 6?"
},
{
"role": "assistant",
"content": "5"
}
] | mod | {
"n": 2693,
"k": 6,
"base": 7
} |
[
{
"role": "user",
"content": "2000 hours before 12:00 is"
},
{
"role": "assistant",
"content": "25"
}
] | hour_24 | {
"start_hour": 9,
"offset": 686,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "1326 hours after 0:00 is"
},
{
"role": "assistant",
"content": "6"
}
] | hour_24 | {
"start_hour": 0,
"offset": 510,
"direction": "after",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "What is 4544 plus 1356?"
},
{
"role": "assistant",
"content": "6233"
}
] | addition | {
"a": 1649,
"b": 531,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 343 hours after 4 o'clock?"
},
{
"role": "assistant",
"content": "2"
}
] | hour_12 | {
"start_hour": 4,
"offset": 178,
"direction": "after",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "If it is April now, what month will it be in 1060 months?"
},
{
"role": "assistant",
"content": "May"
}
] | months | {
"start_month": "April",
"offset": 385,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 2465 hours before 6:00 (24-hour clock)?"
},
{
"role": "assistant",
"content": "16"
}
] | hour_24 | {
"start_hour": 6,
"offset": 929,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "What is 22464 mod 10?"
},
{
"role": "assistant",
"content": "4"
}
] | mod | {
"n": 5730,
"k": 7,
"base": 7
} |
[
{
"role": "user",
"content": "If it is 2:00 now, what time is it in 265 hours?"
},
{
"role": "assistant",
"content": "3"
}
] | hour_24 | {
"start_hour": 2,
"offset": 145,
"direction": "after",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "What is the remainder when 13224 is divided by 6?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 3546,
"k": 6,
"base": 7
} |
[
{
"role": "user",
"content": "If the clock shows 14 o'clock, what did it show 1603 hours ago?"
},
{
"role": "assistant",
"content": "10"
}
] | hour_12 | {
"start_hour": 11,
"offset": 640,
"direction": "before",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "442 + 534 = ?"
},
{
"role": "assistant",
"content": "1306"
}
] | addition | {
"a": 226,
"b": 270,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 36631 is divided by 2?"
},
{
"role": "assistant",
"content": "1"
}
] | mod | {
"n": 9577,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 30064 is divided by 3?"
},
{
"role": "assistant",
"content": "1"
}
] | mod | {
"n": 7249,
"k": 3,
"base": 7
} |
[
{
"role": "user",
"content": "611 * 525 = ?"
},
{
"role": "assistant",
"content": "451305"
}
] | multiplication | {
"a": 302,
"b": 264,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 14443 is divided by 2?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 4000,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "What day is 112 days after Wednesday?"
},
{
"role": "assistant",
"content": "Friday"
}
] | days_of_week | {
"start_day": "Wednesday",
"offset": 58,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 630 hours after 12:00 (24-hour clock)?"
},
{
"role": "assistant",
"content": "15"
}
] | hour_24 | {
"start_hour": 9,
"offset": 315,
"direction": "after",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "1122 hours before 13 o'clock is"
},
{
"role": "assistant",
"content": "13"
}
] | hour_12 | {
"start_hour": 10,
"offset": 408,
"direction": "before",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "What day is 200 days after Wednesday?"
},
{
"role": "assistant",
"content": "Wednesday"
}
] | days_of_week | {
"start_day": "Wednesday",
"offset": 98,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What is 2210 plus 1526?"
},
{
"role": "assistant",
"content": "4036"
}
] | addition | {
"a": 791,
"b": 608,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "2140 hours after 26:00 is"
},
{
"role": "assistant",
"content": "21"
}
] | hour_24 | {
"start_hour": 20,
"offset": 763,
"direction": "after",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "If it is 20:00 now, what time was it 162 hours ago?"
},
{
"role": "assistant",
"content": "23"
}
] | hour_24 | {
"start_hour": 14,
"offset": 93,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "If today is Monday, what day is it 24 days from now?"
},
{
"role": "assistant",
"content": "Friday"
}
] | days_of_week | {
"start_day": "Monday",
"offset": 18,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "15 months before February is"
},
{
"role": "assistant",
"content": "February"
}
] | months | {
"start_month": "February",
"offset": 12,
"direction": "before",
"base": 7
} |
[
{
"role": "user",
"content": "62 + 42"
},
{
"role": "assistant",
"content": "134"
}
] | addition | {
"a": 44,
"b": 30,
"digits": 2,
"base": 7
} |
[
{
"role": "user",
"content": "If today is Wednesday, what day was it 452 days ago?"
},
{
"role": "assistant",
"content": "Monday"
}
] | days_of_week | {
"start_day": "Wednesday",
"offset": 233,
"direction": "before",
"base": 7
} |
[
{
"role": "user",
"content": "41 * 24 = ?"
},
{
"role": "assistant",
"content": "1344"
}
] | multiplication | {
"a": 29,
"b": 18,
"digits": 2,
"base": 7
} |
[
{
"role": "user",
"content": "If today is Sunday, what day was it 2 days ago?"
},
{
"role": "assistant",
"content": "Friday"
}
] | days_of_week | {
"start_day": "Sunday",
"offset": 2,
"direction": "before",
"base": 7
} |
[
{
"role": "user",
"content": "662 + 201"
},
{
"role": "assistant",
"content": "1163"
}
] | addition | {
"a": 338,
"b": 99,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 326 hours before 5:00 (24-hour clock)?"
},
{
"role": "assistant",
"content": "6"
}
] | hour_24 | {
"start_hour": 5,
"offset": 167,
"direction": "before",
"base": 7,
"clock": 24
} |
[
{
"role": "user",
"content": "What is the remainder when 20442 is divided by 13?"
},
{
"role": "assistant",
"content": "11"
}
] | mod | {
"n": 5028,
"k": 10,
"base": 7
} |
[
{
"role": "user",
"content": "30646 % 2 = ?"
},
{
"role": "assistant",
"content": "1"
}
] | mod | {
"n": 7531,
"k": 2,
"base": 7
} |
[
{
"role": "user",
"content": "Add 5346 and 3101."
},
{
"role": "assistant",
"content": "11450"
}
] | addition | {
"a": 1896,
"b": 1079,
"digits": 4,
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 20 hours after 15 o'clock?"
},
{
"role": "assistant",
"content": "2"
}
] | hour_12 | {
"start_hour": 12,
"offset": 14,
"direction": "after",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "What is 646 times 241?"
},
{
"role": "assistant",
"content": "232306"
}
] | multiplication | {
"a": 328,
"b": 127,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "124 + 653 = ?"
},
{
"role": "assistant",
"content": "1110"
}
] | addition | {
"a": 67,
"b": 332,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "If it is July now, what month was it 16 months ago?"
},
{
"role": "assistant",
"content": "June"
}
] | months | {
"start_month": "July",
"offset": 13,
"direction": "before",
"base": 7
} |
[
{
"role": "user",
"content": "2012 days before Monday is"
},
{
"role": "assistant",
"content": "Saturday"
}
] | days_of_week | {
"start_day": "Monday",
"offset": 695,
"direction": "before",
"base": 7
} |
[
{
"role": "user",
"content": "1530 months after December is"
},
{
"role": "assistant",
"content": "September"
}
] | months | {
"start_month": "December",
"offset": 609,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "Multiply 340 by 261."
},
{
"role": "assistant",
"content": "131640"
}
] | multiplication | {
"a": 175,
"b": 141,
"digits": 3,
"base": 7
} |
[
{
"role": "user",
"content": "What hour is it 1306 hours before 14 o'clock?"
},
{
"role": "assistant",
"content": "10"
}
] | hour_12 | {
"start_hour": 11,
"offset": 496,
"direction": "before",
"base": 7,
"clock": 12
} |
[
{
"role": "user",
"content": "Multiply 66 by 50."
},
{
"role": "assistant",
"content": "4620"
}
] | multiplication | {
"a": 48,
"b": 35,
"digits": 2,
"base": 7
} |
[
{
"role": "user",
"content": "406 months after February is"
},
{
"role": "assistant",
"content": "December"
}
] | months | {
"start_month": "February",
"offset": 202,
"direction": "after",
"base": 7
} |
[
{
"role": "user",
"content": "What is the remainder when 21614 is divided by 2?"
},
{
"role": "assistant",
"content": "0"
}
] | mod | {
"n": 5450,
"k": 2,
"base": 7
} |
Math + Cyclic-Time Synthetic Dataset
Synthetic dataset for training a small (~10M-100M param), task-specialized LLM on arithmetic (addition, multiplication), cyclic time arithmetic (days-of-week, months, 12-hour and 24-hour clock), and mod-k remainder probes — generalization-focused rather than memorization, following on from the T2/T5/T10 modular-circuit discussion. Days-of-week, months, and hours are all instances of the same underlying cyclic/modular-addition structure, rendered as different surface forms.
Generate
python3 generate_math_dataset.py --out data_base10
Key flags: --base (numeral base for rendering numbers, default 10 — use
--base 6 or --base 7 to produce transfer-experiment variants of the same
task distribution once a base-10 model is working), --seed, plus per-task
length/range/count knobs (--add-train-lengths, --mod-n-per-modulus, etc.
— see --help).
Splits
train.jsonl— in-distribution training examples.test_id.jsonl— held-out in-distribution examples (same digit-length / offset / value range as train, but the exact input was never trained on). Deterministic hash-based split (stable_bucket), ~5% of in-range examples, reproducible across runs regardless ofPYTHONHASHSEED.test_ood.jsonl— out-of-distribution examples: longer digit lengths for addition/multiplication, larger offsets for days-of-week, and larger values for mod probes than anything seen in train. Tests whether the model learned the underlying algorithm/circuit vs. memorized surface patterns.
Schema
Each line is a JSON object:
{
"messages": [
{"role": "user", "content": "127 + 489 = ?"},
{"role": "assistant", "content": "616"}
],
"task": "addition",
"meta": {"a": 127, "b": 489, "digits": 3, "base": 10}
}
task is one of addition, multiplication, days_of_week, months,
hour_12, hour_24, mod. meta carries the ground-truth operands so
correctness/leakage can be re-verified without re-parsing the text. All
numbers in the messages text are rendered in the same --base —
including the modulus, day/month offset, and hour — so a --base 6 run is
self-consistent throughout. hour_12 cycles through 1..12 (clock-style, no
zero); hour_24 cycles through 0..23.
Each task has 3-4 paraphrase templates (e.g. "{a} + {b} = ?" vs
"What is {a} plus {b}?") so the model isn't just pattern-matching one
surface form.
Dataset stats by base
data_base10 (--base 10):
train: 60935 addition 11490, multiplication 7708, mod 11383, days_of_week 7576, months 7590, hour_12 7579, hour_24 7609
test_id: 3265 addition 610, multiplication 392, mod 617, days_of_week 424, months 410, hour_12 421, hour_24 391
test_ood: 7800 addition 1000, multiplication 1000, mod 1800, days_of_week 1000, months 1000, hour_12 1000, hour_24 1000
data_base6 (--base 6):
train: 54967 addition 8508, multiplication 4686, mod 11434, days_of_week 7560, months 7589, hour_12 7582, hour_24 7608
test_id: 2905 addition 428, multiplication 250, mod 566, days_of_week 440, months 411, hour_12 418, hour_24 392
test_ood: 7800 addition 1000, multiplication 1000, mod 1800, days_of_week 1000, months 1000, hour_12 1000, hour_24 1000
data_base7 (--base 7):
train: 56583 addition 9323, multiplication 5521, mod 11385, days_of_week 7569, months 7608, hour_12 7580, hour_24 7597
test_id: 3043 addition 490, multiplication 292, mod 615, days_of_week 431, months 392, hour_12 420, hour_24 403
test_ood: 7800 addition 1000, multiplication 1000, mod 1800, days_of_week 1000, months 1000, hour_12 1000, hour_24 1000
Base-6/base-7 have fewer addition/multiplication train examples than base-10 because smaller bases have a smaller unique-operand space at low digit-lengths, so the dedup-based generator hits its attempt cap before reaching the requested count — not an error.
Verified for each base variant: 0 numeric/cyclic-label mismatches, and zero (task, operands) overlap between train/test_id/test_ood.
Not yet done
- No raw-text (pretraining-style) flattening yet — only the chat-message JSONL form; flatten per whatever format nanochat's data loader expects once that's confirmed.
- Downloads last month
- 52