Training a small language model on the KJV
i decided to train a small language model from scratch to make sure i actually understand how they work. so i asked Anthropic's Fable 5/Opus 5 to create a small model and explain each stage. we ran the code, changed the settings, chose the comparisons and examined the results. OpenAI's Sol 5.6 later assessed and revised the text, with look-ins from GLM 5.3 and a couple others. where the article reports a measurement, we ran it; where it extrapolates, we say so.
it's a 10M model trained on the kjv. a single training run on my macbook pro lasts about 19 minutes.
here's how it went.
12artifacts
01the process in outlineartifact · Aug 12, 2026
02the task and the textartifact · Aug 12, 2026
03the transformerartifact · Aug 12, 2026
04interpretationartifact · Aug 22, 2026
05trainingartifact · Aug 12, 2026
06data and scaleartifact · Aug 22, 2026
07inferenceartifact · Aug 12, 2026
08transformer variantsartifact · Aug 13, 2026
09evaluationartifact · Aug 13, 2026
10post-trainingartifact · Aug 13, 2026
11from model to systemartifact · Aug 12, 2026
12the entire modelartifact · Aug 22, 2026