A language model now gets 97% of its weights from text statistics
This project builds most of a small language model's stored weights from corpus statistics, so the trained neural network needs only 103 million parameters and new facts can be added without retraining. An LLM-written compiler turns 31.8 billion tokens into frozen lookup tables, then gradient descent trains the network on top. On held-out text, it reaches 46.4 perplexity versus 52.1 for a same-size baseline; its edit layer answers 99.9% of 10,000 updated questions while preserving 98.2% of unrelated answers.