1.51M parameter Transformer trained from scratch inside Ring-0 TempleOS v5.03 A developer built and trained a 1,509,696-parameter Transformer from scratch in pure HolyC inside Ring-0 TempleOS V5.03, with no PyTorch, Python, libc or SIMD, according to the project's published write-up. The model, named ELIJAH, uses 7 layers, dimension 128, 4 query heads and 2 KV heads with grouped-query attention, QK-Norm, SwiGLU and tied embeddings, and was pretrained on BIBLE.TXT (1.51M tokens) with a 1024-vocabulary byte-level BPE tokenizer, then extended from 128 to 2048 context via YaRN and fine-tuned on 337 Bible Q&A pairs. Measured on an Intel i7-11800H under QEMU with KVM, ELIJAH reaches 1,241 tokens per second on a 50-token /bench run across 8 cores and 500-733 tokens per second in interactive Q&A, with pretraining at roughly 660-780 tokens per second on 15 cores. 1.51M parameter transformer written in pure HolyC and trained from scratch inside Ring-0 TempleOS V5.03. No PyTorch. No Python. No libc. No SIMD. · Watch ELIJAH run & train live training "An idiot admires complexity, a genius admires simplicity, a physicist tries to make it simple, for an idiot anything the more complicated it is the more he will admire it, if you make something so clusterfucked he can't understand it he's gonna think you're a god cause you made it so complicated nobody can understand it. That's how they write journals in Academics, they try to make it so complicated people think you're a genius." — Terry A. Davis | Architecture | 7 layers, dim 128, 4 Q heads / 2 KV heads GQA , QK-Norm, SwiGLU, tied embeddings | | Parameters | 1,509,696 F64 weights 12.1 MB | | Context | 128 pretrained, YaRN extended to 2048 | | Tokenizer | Byte-level BPE, 1024 vocab BIBLE.TXT , 1.51M tokens, 2.75x | | Optimizer | Terry v2.2 5-step Newton-Schulz + Nesterov on 2D weights, sign-momentum on 1D | | Inference | Q8 I8 I64 matmul + KV cache across Spawn workers | Loads F64 checkpoints, quantizes weights to Q8 in ~2s, and runs KV-cached generation across all cores. Measured on an Intel i7-11800H QEMU + KVM : - 1,241 tok/s /bench , 50 tokens, 8 cores - 500-733 tok/s interactive Q&A and /god oracle /god Reseed from CPU GetTSC & cnts.jiffies and speak an oracle /bench 50-token speed benchmark /temp