Building an LLM from scratch: AdamAI Genesis, our first real model, about 114 million parameters, built and trained in public.
AdamAI Genesis is our first real model: about 114 million parameters, built from scratch, pretraining on 10 billion tokens of educational web text. This episode is a mid-run check-in. As of step 13,500 (November 5, 2026), Genesis has read about 3.5 billion tokens, a little over a third of the planned run, and it is still training.
In this episode: what training actually is (next-token prediction, loss, gradients, AdamW, batches, the learning-rate schedule, checkpoints), the hardware and the model up close, its first word, grammar arriving, the copying circuit forming, facts arriving and wobbling, how one answer grew up, how to read the colored tables we use to watch its insides, what went wrong along the way, and what comes next.
Follow along as we aim for full pretraining of our first model. Episode 3 is the next check-in.
Help fund bigger training runs: https://coburnicusmind.com/compute
With real clips of Andrej Karpathy, Ilya Sutskever, Geoffrey Hinton, Dario Amodei, Chris Olah, Catherine Olsson, Josh Batson and Jensen Huang on how these models learn.
Written and narrated by Adam Coburn.
CHAPTERS
00:00 Growing It for Real
01:56 What Training Actually Is
07:22 The Setup
09:07 Birth
10:56 Sentences Before Sense
12:25 The Copying Circuit
14:17 Facts Arrive
16:05 One Question, Many Ages
17:01 Reading the Colored Tables
19:40 Things Go Wrong
21:35 Reading the Loss Curve
23:15 What Comes Next
THE RUN (all numbers from AdamAI Genesis's own training logs and probes)
Model: 114,151,680 parameters, 12 layers, width 768, 12 query heads sharing 4 key/value heads, SwiGLU, RoPE, RMSNorm, QK-Norm, tied embeddings, GPT-2 tokenizer (50,304 tokens), context 1,024
Data: FineWeb-Edu sample-10BT, 9.95B tokens (100M held out for testing)
Training: AdamW, peak learning rate 6e-4, 500-step warmup, cosine decay, 262,144 tokens per step, 38,146 steps
GPT-2 small comparison: OpenAI's released GPT-2 small weights scored on the same held-out text (home turf; HellaSwag is the neutral test)
On-screen data sources: Genesis training metrics (loss every 50 steps), probe results every 250 steps (facts, grammar, copying test, logit lens, attention heads, attention focus, layer update rates, effective rank), the 17 saved brain snapshots, same-prompt samples every 500 steps, nvidia-smi readings, the lab notebook (restart, memory bug, tokenizer crash) and the Episode 1 model's loss curves. GPU rental cost: about $2.35 per H100 hour (estimate, Nov 2026); Exodus and ladder times are estimates. Rule of thumb of about 20 tokens per parameter: Chinchilla. Gradient-descent curves and landscapes are illustrations; 3D graphics cards and chips are generic models, not to scale.
HASHTAGS
#LLMFromScratch #AdamAI #GrowingABrain #AI #MachineLearning #LLM #ArtificialIntelligence #DeepLearning #NeuralNetwork #Interpretability #AITraining #OpenSource #BuildInPublic #Transformers #CoburnicusMind
REFERENCES
Penedo et al., The FineWeb Datasets (2024): https://arxiv.org/abs/2406.17557
Radford et al., Language Models are Unsupervised Multitask Learners (GPT-2, 2019)
Loshchilov & Hutter, Decoupled Weight Decay Regularization (AdamW, 2017): https://arxiv.org/abs/1711.05101
Kingma & Ba, Adam (2014): https://arxiv.org/abs/1412.6980
Olsson et al., In-context Learning and Induction Heads (2022): https://arxiv.org/abs/2209.11895
nostalgebraist, interpreting GPT: the logit lens (2020): https://www.lesswrong.com/posts/AcKRB...
Hoffmann et al., Training Compute-Optimal Large Language Models (Chinchilla, 2022): https://arxiv.org/abs/2203.15556
Zellers et al., HellaSwag (2019): https://arxiv.org/abs/1905.07830
CLIPS (short excerpts quoted for commentary and education)
Chris Olah: Lex Fridman Podcast #452, Chris Olah segment ("Dario Amodei: Anthropic CEO on Claude, AGI & the Future of AI & Humanity") (Lex Fridman, 2024): Dario Amodei: Anthropic CEO on Claude, AGI...
Andrej Karpathy: [1hr Talk] Intro to Large Language Models (Andrej Karpathy, 2023): [1hr Talk] Intro to Large Language Models
Andrej Karpathy: The spelled-out intro to neural networks and backpropagation: building micrograd (Andrej Karpathy, 2022): The spelled-out intro to neural networks a...
Jensen Huang: Jensen Huang on GPUs - Computerphile (Computerphile, 2025): Jensen Huang on GPUs - Computerphile
Josh Batson: Interpretability: Understanding how AI models think (Anthropic, 2025): Interpretability: Understanding how AI mod...
Dario Amodei: Scaling Laws of AI explained | Dario Amodei and Lex Fridman (Lex Clips, 2024): Scaling Laws of AI explained | Dario Amode...
Catherine Olsson: Catherine Olsson - Induction Heads (BlackboxNLP, 2022): Catherine Olsson - Induction Heads
Andrej Karpathy: [1hr Talk] Intro to Large Language Models (Andrej Karpathy, 2023): [1hr Talk] Intro to Large Language Models
Geoffrey Hinton: "Godfather of AI" Geoffrey Hinton: The 60 Minutes Interview (60 Minutes, 2023): https://www.