final verdict: smallest arithmetic LLM = pythia-14m 14.1M (99.8%); smallest from-scratch = 805,632 (100%); corrected param counts; full stage A/B records
9feb5f5 verified Download stage_b_all.jsonl from Atharva1232/tiny-math-1m: direct link, hf CLI and curl.
- Browser
- Download file 7.09 kB
-
https://huggingface.co/Atharva1232/tiny-math-1m/resolve/main/stage_b_all.jsonl
- Command line
-
hf download hf://Atharva1232/tiny-math-1m/stage_b_all.jsonl
-
curl -L -o stage_b_all.jsonl https://huggingface.co/Atharva1232/tiny-math-1m/resolve/main/stage_b_all.jsonl
7.09 kB
| {"model": "roneneldan/TinyStories-1M", "params": 3745984, "n_problems": 1780000, "batch": 32, "fp16": true, "first_loss": 8.787676811218262, "best": {"strict": 0.002, "lenient": 0.0, "step": 8015}, "final_strict": 0.0015, "final_lenient": 0.0, "wrong_examples": [["8857+7132", "7+2=9,5+3=8,5+1=6,9+7=16,16982\\n9079+8071=\\n9+1=10,7+7+1=15,0+0+1=1,9+8=17,17071\\n9071+8071=\\n", "15989"], ["2052+2983", "2+3=5,5+8=13,5+9+1=15,2+2+1=5,5568\\n5076+8072=\\n6+2=8,0+7=7,0+0=0,5+8=13,13076\\n8076+8072=\\n6+", "5035"], ["8878+6083", "8+3=11,7+8+1=16,0+0+1=1,9+6=15,15104\\n8079+8072=\\n9+2=11,7+7+1=15,0+0+1=1,8+8=16,16125\\n8076+", "14961"], ["7833+6471", "3+1=4,3+7=10,3+4+1=8,8+6=14,14981\\n5072+8071=\\n2+1=3,7+7=14,0+0+1=1,5+8=13,13147\\n5076+8072=\\n", "14304"]], "lang_samples": {"Once upon a time": "\n1+6071=\n6+9=14,0+1+1=1,5+0=5,5+7=13,13073\n5079+9072=\n8+2=10,7+7+1=15", "The capital of France is": "=10=1,1+5=5,1+5=6,9+5=14,14072\n5076+8072=\n6+2=8,0+7=7,0+0=0,5+8=13,"}, "wall_min": 37.92848697106044, "tag": "r2_ts1m_1780k"} | |
| {"model": "roneneldan/TinyStories-3M", "params": 8278400, "n_problems": 500000, "batch": 32, "fp16": true, "lr": 6e-05, "attempts": 1, "best": {"strict": 0.0, "lenient": 0.0, "step": 450}, "final_strict": 0.0, "final_lenient": 0.0, "wrong_examples": [["8857+7132", "8+8=16,6+8+1=15,3+1+1=5,5+7=12,12 cartridge1\\n8irs+8irs\\n8 cartridge1 margin5+10 cartridge1=", "15989"], ["2052+2983", "5+3=8,2+8=10,1+9+1=11,5+2+1=8,8ocol\\n8aciously\\n8irs\\n8irs=\\n5+5=10,3+1+1=5,1+1=2,8+1=9,9 cart", "5035"], ["8878+6083", "8+3=11,6+8+1=15,6+0+1=7,8+6=14,14 cartridge1\\n8irs+8 cartridge1 Notre1=\\n8+1=9,0+1=1,0+1=1,8", "14961"], ["7833+6471", "3+7=10,1+7+1=9,2+4=6,6+2=8,8ocol\\n8 cartridge1+8 cartridge1=\\n0+0=0,1+1=2,0+0=0,8+8=16,16aci", "14304"]], "lang_samples": {"Once upon a time": ",3ubb2\n8ubb2\n8ubb2=\n5+2=7,2+2+1=5,8+8=16,8+8+1=aciously\n8irs\n8 cartridge1+8ubb1=\n5+1=7,", "The capital of France is": "+1+1+1 margin6=\n7+7=15,0+0+1=1,7+0=7,7+1=8,8 cartridge1\n8 cartridge1+8 cartridge1=\n1+1=2,0+5=5"}, "wall_min": 14.78394091129303, "tag": "r3_ts3m_500k"} | |
| {"model": "EleutherAI/pythia-14m", "params": 14067712, "trained_params": 1189888, "frozen_params": 12877824, "n_problems": 500000, "lr": 0.0003, "recipe": "fp32 + blocks-only (vocab frozen by module type)", "best": {"strict": 0.642, "lenient": 0.0, "step": 2245}, "final_strict": 0.6255, "final_lenient": 0.0, "wrong_examples": [["8857+7132", "7+2=9,5+3=8,8+1=9,8+7=15,15989\\n5292+5292=\\n2+2=4,9+9=18,2+2+1=5,5+5=10,10584\\n5292+5885=\\n2+5", "15989"], ["2052+2983", "2+3=5,5+8=13,0+9+1=10,2+2+1=5,5035\\n5292+5452=\\n2+2=4,9+5=14,2+4+1=7,5+5=10,10744\\n5885+5885=", "5035"], ["8878+6083", "8+3=11,7+8+1=16,8+0+1=9,9+6=15,15961\\n8368+5684=\\n8+4=12,6+8+1=15,3+6+1=10,8+5+1=14,14052\\n58", "14961"], ["7833+6471", "3+1=4,3+7=10,8+4+1=13,3+6+1=10,10304\\n5292+5885=\\n2+5=7,9+8=17,2+8+1=11,5+5+1=11,11177\\n5885+", "14304"]], "lang_samples": {"Once upon a time": "+8+1=15,5+7+1=13,13509\n5808+5452=\n8+2=10,0+5+1=6,8+4=12,5+5+1=11,11260\n5452+5", "The capital of France is": "6+1=7,6+2=8,8740\n5292+5690=\n2+0=2,9+9=18,2+6+1=9,5+5=10,10982\n5292+5292=\n2+"}, "grad_norm_max": 56.683834075927734, "wall_min": 10.098022186756134, "tag": "r5_p14m_blocks_fp32"} | |
| {"model": "EleutherAI/pythia-14m", "params": 14067712, "trained_params": 1189888, "frozen_params": 12877824, "n_problems": 1780000, "lr": 0.0003, "recipe": "fp32 + blocks-only (vocab frozen by module type)", "best": {"strict": 0.998, "lenient": 0.0, "step": 8005}, "final_strict": 0.996, "final_lenient": 0.0, "wrong_examples": [["8857+7132", "7+2=9,5+3=8,8+1=9,8+7=15,15989\\n5885+5690=\\n5+0=5,8+9=17,8+6+1=15,5+5+1=11,11575\\n5690+9452=\\n", "15989"], ["2052+2983", "2+3=5,5+8=13,0+9+1=10,2+2+1=5,5035\\n5130+5253=\\n0+3=3,3+5=8,1+2=3,5+5=10,10383\\n5690+5452=\\n0+", "5035"], ["8878+6083", "8+3=11,7+8+1=16,8+0+1=9,8+6=14,14961\\n5130+5253=\\n0+3=3,3+5=8,1+2=3,5+5=10,10383\\n5130+5253=\\n", "14961"], ["7833+6471", "3+1=4,3+7=10,8+4+1=13,7+6+1=14,14304\\n5690+9452=\\n0+2=2,9+5=14,6+4+1=11,5+9+1=15,15142\\n5130+", "14304"]], "lang_samples": {"Once upon a time": ",7+8=15,15802\n9452+5690=\n2+0=2,5+9=14,4+6+1=11,9+5+1=15,15142\n9452+5130=\n2+0=2", "The capital of France is": "\n9471+9452=\n1+2=3,7+5=12,4+4+1=9,9+9=18,18923\n5130+5690=\n0+0=0,3+9=12,1+6+"}, "grad_norm_max": 85.49615478515625, "wall_min": 29.979759955406188, "tag": "r6_p14m_blocks_1780k"} | |
| {"model": "roneneldan/TinyStories-33M", "params": 68514048, "n_problems": 500000, "batch": 16, "fp16": true, "first_loss": 8.03370475769043, "best": {"strict": 0.985, "lenient": 0.0, "step": 4503}, "final_strict": 0.9795, "final_lenient": 0.0, "wrong_examples": [["8857+7132", "7+2=9,5+3=8,8+1=9,8+7=15,15989\\n8984+8984=\\n4+4=8,8+8=16,9+9+1=19,8+8+1=17,17968\\n8984+8984=\\n", "15989"], ["2052+2983", "2+3=5,5+8=13,0+9+1=10,2+2+1=5,5035\\n8984+8984=\\n4+4=8,8+8=16,9+9+1=19,8+8+1=17,17968\\n8984+89", "5035"], ["8878+6083", "8+3=11,7+8+1=16,8+0+1=9,8+6=14,14961\\n8984+8984=\\n4+4=8,8+8=16,9+9+1=19,8+8+1=17,17968\\n8984+", "14961"], ["7833+6471", "3+1=4,3+7=10,8+4+1=13,7+6+1=14,14304\\n8984+8984=\\n4+4=8,8+8=16,9+9+1=19,8+8+1=17,17968\\n8984+", "14304"]], "lang_samples": {"Once upon a time": "2+1=5,5+4=9,9+1=10,10955\n8984+8984=\n4+4=8,8+8=16,9+9+1=19,8+8+1=17,17968", "The capital of France is": "9+1=19,4+4+1=9,9990\n8981+8982=\n1+2=3,8+8=16,9+9+1=19,8+8+1=17,17963\n898"}, "wall_min": 23.05437043507894, "tag": "r2_ts33m_500k"} | |
| {"model": "HuggingFaceTB/SmolLM2-135M", "params": 134515008, "n_problems": 500000, "batch": 8, "fp16": true, "first_loss": 1.6609715223312378, "best": {"strict": 0.769, "lenient": 0.0, "step": 11118}, "final_strict": 0.769, "final_lenient": 0.0, "wrong_examples": [["8857+7132", "7+2=9,5+3=8,5+1=6,8+7=15,15689\\n2602+6820=\\n2+0=2,0+2=2,6+8=14,2+6+1=9,9422\\n6082+2787=\\n2+7=9", "15989"], ["2052+2983", "2+3=5,5+8=13,0+9+1=10,2+2+1=5,5035\\n2888+8907=\\n8+7=15,8+0+1=9,8+9=17,2+8+1=11,11795\\n2003+27", "5035"], ["8878+6083", "8+3=11,7+8+1=16,4+0+1=5,9+6=15,15561\\n8401+8220=\\n1+0=1,0+2=2,4+2=6,8+8=16,16621\\n2032+6744=\\n", "14961"], ["7833+6471", "3+1=4,3+7=10,8+4+1=13,7+6+1=14,14304\\n2602+8722=\\n2+2=4,0+2=2,6+7=13,2+8+1=11,11324\\n2033+464", "14304"]], "lang_samples": {"Once upon a time": ", there was a little girl named Lily. She lived in a big city called New York, and she loved to play with her friends every day. One day, she asked her mom, \u201cMommy, why do we have to wear clothes?\u201d Her mom smiled and said, \u201cWell, Lily", "The capital of France is": " Paris.\n\nThe capital of France is Paris.\n\nThe capital of France is Paris.\n\nThe capital of France is Paris.\n\nThe capital of France is Paris.\n\nThe capital of France is Paris.\n\nThe capital of France is Paris.\n\nThe capital"}, "wall_min": 80.13367460171382, "tag": "r2_s135m_500k"} | |
| {"model": "EleutherAI/pythia-14m", "error": "NaN loss at step 449 (first loss 2.431037425994873)", "tag": "r2_p14m_500k_fp32"} | |
| {"model": "EleutherAI/pythia-70m", "error": "NaN loss at step 899 (first loss 2.306910991668701)", "tag": "r2_p70m_500k_fp32"} | |