I built an LLM where Gemini 4 wrote the initial weights as code (97% of bytes) An independent researcher released wtable-lm, a language model in which an LLM-written compiler builds 97% of the model's stored weights as a 7.96 GiB bank of sparse tables from 31.8B tokens of corpus statistics with no gradient step, leaving gradient descent to train only a 103M-parameter network on top. Trained on 10B tokens on a single GPU, the table model reached a word-level perplexity of 46.4 on 2,000 held-out FineWeb-Edu documents versus 52.1 for a parameter-matched model without tables, and an external edit layer applied over 10,000 sequential WikiBigEdit edits answered 99.9% of edited questions and 97.4% of paraphrases at 12 ms per fact, while fine-tuning and LoRA recalled at most 36.3% of edits and pushed perplexity above 1,000. Code and results are posted at github.com/Kim-Ai-gpu/wtable-lm. Independent Researcher An LLM writes the program that fills 97% of a language model's stored weights with corpus statistics, with no gradient step. Gradient descent trains only a 103M-parameter network on top, and the model supports continual knowledge updates without training . Abstract Weight-space programming WSP is the idea that a frontier LLM can read and write the weights of a neural network directly, without gradient descent. So far, however, WSP has been limited to small networks or to sparse edits of existing models, and it has not been used to build a language model from scratch. We instead have an LLM write a compiler that builds the model's initial weights. The compiler turns 31.8B tokens of corpus statistics into a 7.96 GiB bank of sparse tables, over 97% of the model's stored bytes, without a single gradient step. Gradient descent then trains a 103M-parameter network on top of the frozen tables. After pretraining, an external edit layer adds new facts without any training, enabling continual knowledge updates. Trained on 10B tokens on a single GPU, the table model reaches a word-level perplexity of 46.4 on held-out FineWeb-Edu documents, 11% lower than a parameter-matched model without tables 52.1 , comparable under standard parameter scaling laws to making the network about 1.5 times larger, and raises mean zero-shot accuracy on ten tasks by 1.2 points. Over 10,000 sequential WikiBigEdit edits, the edit layer answers 99.9% of the edited questions and 97.4% of their paraphrases, leaves 98.2% of unrelated answers unchanged, and changes perplexity by only 0.003%, at 12 ms per fact with no gradient step. Fine-tuning and LoRA, by comparison, recall at most 36.3% of the edits and push perplexity above 1,000. Code and results are available at github.com/Kim-Ai-gpu/wtable-lm https://github.com/Kim-Ai-gpu/wtable-lm . Hover over any bar or point for exact values. Both models have the same backbone, about 103M trained parameters, and the same 10B training tokens. The only difference is the frozen tables. Word-level perplexity on 2,000 held-out FineWeb-Edu test documents, context 1,024. The 1.5× estimate uses the parameter scaling law of Kaplan et al. 2020 , loss ∝ N