folio

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

  1. 01the process in outlineartifact · Aug 12, 2026
  2. 02the task and the textartifact · Aug 12, 2026
  3. 03the transformerartifact · Aug 12, 2026
  4. 04interpretationartifact · Aug 22, 2026
  5. 05trainingartifact · Aug 12, 2026
  6. 06data and scaleartifact · Aug 22, 2026
  7. 07inferenceartifact · Aug 12, 2026
  8. 08transformer variantsartifact · Aug 13, 2026
  9. 09evaluationartifact · Aug 13, 2026
  10. 10post-trainingartifact · Aug 13, 2026
  11. 11from model to systemartifact · Aug 12, 2026
  12. 12the entire modelartifact · Aug 22, 2026

search the public archive.