25launches

Weights as Code

An LLM writes 97% of a language model's weights as code

0 followers

Visit weights-as-code.pages.dev (opens in a new tab)

Artificial IntelligenceOpen Source

Weights as Code is a research project by independent researcher YoungSeong Kim. Gemini 4 Neon designed a compiler that turns 31.8B tokens of corpus statistics into 8 GB of frozen sparse tables, over 97% of the model's stored bytes, with no gradient step. Only a 103M-parameter Transformer is trained on top, on one GPU. He reports lower perplexity than a same-size model, and an edit layer that added 10,000 facts without training and with little forgetting. Preprint paper, MIT code.