Burkov proposes pretraining transformers on LLM weight files so they learn to edit model weights

burkov · x · 2026-11-06

ML author Andriy Burkov sketches an idea: pretrain a large enough transformer on text files containing LLM weights (abundant on Hugging Face and GitHub), and it will learn the meaning of and connections between weights just as it learned language and code. Fine-tuning on examples of editing such weight files would then teach it to edit weights.

His argument: the transformer doesn't care what's in a text file — Shakespeare, Linux, or Qwen. As long as there are tokens, it learns to predict the next one. Essentially an extrapolation of the 'AI improving AI' path.

Original post →

More from Research

Research channel →