
Gemini 4 wrote the initial weights of a language model as executable code. And about 97% of the model’s weight bytes came out of that process, according to the project’s write-up (CapyLaunch, RC Labs Daily). The build works like this: an LLM-generated compiler converts 31.8 billion tokens of FineWeb-Edu corpus statistics into a 7.96 GiB bank of sparse lookup tables. Those tables hold more than 97% of the model’s stored bytes, and none of them passed through gradient descent. A standard 103-million-parameter transformer trains on top of the frozen tables and reaches a word-level perplexity of 46.4 on held-out FineWeb-Edu documents, 11% lower than the same network without the tables. The author published the code and results in a GitHub repository named `wtable-lm` (Hamidun News).
The number everyone repeats is 97%. The part that should actually change how you build things is buried lower in the reports: a separate edit layer adds a new fact, a recent API version for example, in about 12 milliseconds, with no fine-tuning.
That detail has consequences for anyone running automations on top of a model that slowly goes stale.
What Gemini 4 Actually Wrote
Strip the headline framing and this is a data-compilation project with a small model bolted on. The program went through 31.8 billion tokens of the FineWeb-Edu corpus and counted which words typically sit next to each other, which concepts are linked. And which phrases recur (Hamidun News). Result: a bank of sparse tables totaling 7.96 GiB.
That is more than 97% of all stored bytes in the model. And none of them passed through gradient descent.
On top of the frozen tables, a standard transformer with only 103 million parameters is trained. This distinction matters and the reports themselves make it: the code-generated stored weights and lookup tables are one thing, the separately trained neural-network parameters are another (Hamidun News, PromptZone). Gemini 4’s contribution was emitting the code that builds the tables. The language modeling behavior lives in the 103M network that a human decided to train on top.
The secondary coverage is already drifting, which is its own lesson. One summary on PromptZone describes a 58-million-parameter “Weights-as-Code” model, a standard decoder-only transformer, where the creator prompted Gemini 4 to output Python code that generates the tensors directly, trained for 500 steps to a loss of about 2.8, versus more than 10,000 steps for a random-initialization baseline, under an MIT license (PromptZone). Two summaries, two parameter counts, two mechanisms, same 97% figure. The Reddit thread that started the spread framed it plainly: “I built an LLM where Gemini 4 wrote the initial weights as code (97% of bytes)” (r/LocalLLaMA). When the details disagree this fast, the repository is the only ground truth.
The Results, and How Far to Trust Them
The headline result is word-level perplexity on held-out FineWeb-Edu: 46.4 with the tables, 52.1 for the same network without them, an 11% improvement (Hamidun News). Perplexity measures how surprised the model is by real text, and lower is better. The edit layer is the sleeper result: adding a fact takes a single forward pass, about 12 ms per fact on a T4 GPU, with no gradient descent (Hamidun News).
The stated pitch for the project is that it “slashes pre-training compute and lets them update knowledge on the fly” (Early Signal). Every number above is author-reported, and most of it traces to a single write-up plus summaries of it. The author’s answer to that is the `wtable-lm` repository on GitHub, published so the claims can be checked independently (Hamidun News). That is the right answer, and more than most viral model claims offer.
Here’s my read on the numbers.
A 46.4 word-level perplexity on a 103-million-parameter network with lookup tables is a small-model result, full stop. The comparison is against a parameter-matched model without tables, not against anything you’d deploy.
An 11% gain at 103M parameters tells you nothing about what happens at frontier scale.
And nothing in the reports tests that.
The 500-steps-to-loss-2.8 claim from the PromptZone summary is punchier. And it’s the one I’d want to see reproduced before repeating it to anyone.
Why “An AI Built Its Own Model” Oversells It
97% of bytes measures storage, not authorship. Most of those bytes are compiled lookup tables derived from statistics about text that humans already wrote. The knowledge came from 31.8 billion tokens of FineWeb-Edu, not from Gemini. The judgment calls that make the project work are research decisions: freeze the tables, train a small network on top, evaluate on held-out documents, bolt on an edit layer. Those choices are the parts a person made.
Calling this “an LLM writing another LLM’s weights” is technically accurate and structurally misleading.
Strip out the 103M trained network and you don’t have a language model, you have a very large index. The reports themselves draw exactly that line between the code-generated stored weights and the separately trained parameters. The bytes are the cheap part of a model. Behavior: the expensive part, and that part still went through gradient descent.
This matters because the framing warps expectations. If you believe “AI now builds AI,” you start waiting for the day you prompt your way to a custom model. If you believe what the write-up actually shows, the day you’re waiting for is different: models where the frozen machinery and the editable knowledge are cleanly separated. And updating one fact costs one forward pass.
What This Means If You Ship Automations on Small Models
You will not build this, and you don’t need to.
The design principle underneath it is what transfers:
– Keep volatile facts out of the weights. Prices, API versions, policy terms, inventory. The project’s own motivation is updating knowledge without retraining, and that instinct applies to your stack whether or not you ever open `wtable-lm`.
– Price a fact update before you buy a model workflow. The benchmark to beat is 12 ms per fact on a T4 GPU. If a vendor’s answer to stale knowledge is a fine-tune or a re-embedding run, that bill lands on you, every quarter, forever.
– Treat “weights as code” as an operations promise. Code gets versioned, diffed, and reviewed. If model weights start behaving like artifacts you can inspect and patch, choosing a model stops being a one-way purchase and starts looking like pinning a dependency. That’s a better negotiating position for a small operator than any benchmark.
I price inference and training time before anything with a model behind it ships. So the part of this project I care about is not the 97%.
It’s that a fact edit stopped being a training decision and became a write to an editable layer.
That is the difference between a model that knows your product catalog and one you have to rebuild every time the catalog moves.
The Part Worth Remembering
The 97% number will carry the headlines this week. The 12 ms fact edit is the part that should change how you build. If you train models, go read the `wtable-lm` repository and check the perplexity claims yourself before you repeat them. If you don’t, steal the architecture lesson: frozen model, editable knowledge, and a hard line between the two.
Do one concrete thing with this. Pick an automation you run where a changed fact would break output silently, an API version, a price, a shipping cutoff. And move that fact out of the model’s prompt-and-pray layer into a table or lookup you control.
That’s the whole idea, compressed into something you can finish this afternoon.
