A computer, compiled into the weights of a language model. An exact CPU inside Qwen3.5-4B, with Gated DeltaNet state as RAM.
README: objective framing throughout
Divyansh Agrawalc72534d099c7
diff --git a/README.md b/README.mdindex 711b989..ada4952 100644--- a/README.md+++ b/README.md@@ -6,13 +6,13 @@[Model on Hugging Face](https://huggingface.co/divagr1925/Qwen3.5-4B-Qwenputer) · [The standalone CHIP-8 transformer it grew from](https://github.com/divagr18/chipformer) · [MIT License](LICENSE)-We took Qwen3.5-4B and compiled a working computer directly into its weights. It isn't a+Qwenputer is Qwen3.5-4B with a working computer compiled directly into its weights. It isn't aplugin, a tool or a sandbox. It's a CPU, a big-number maths library and its memory, written astransformer layers and appended to the stock model. Nothing was trained: a compiler worked outevery weight.The trick is memory. Qwen3.5's Gated DeltaNet layers keep a running state that the delta rule-can overwrite one row at a time, exactly. We use that state as the computer's RAM. Its registers,+can overwrite one row at a time, exactly. That state serves as the computer's RAM. Its registers,memory and program counter all live inside the model's own attention state.So when Qwenputer writes `48213 × 9917 =`, the answer isn't a guess. The computer in its weights@@ -34,8 +34,8 @@ Python interpreter on the host, which is the ceiling for this kind of help.| DeepMind `mul_big` (100) | 66 | **93** (31 / 4, p=4e-6) | 91 || DeepMind clean big add / mul (200) | 69.5 | **99.0** (61 / 2, p=4e-16) | 98.5 |-The computer has never printed a wrong result. We replayed about 3.9 million positions of model-output through a reference simulator of the circuit and found zero mismatches. Qwen's own+The computer has never printed a wrong result. About 3.9 million positions of model output+were replayed through a reference simulator of the circuit, with zero mismatches. Qwen's ownbehaviour is unchanged within noise: on MMLU and ARC the KL divergence of its answer choicesagainst base Qwen is about 7e-4, and accuracy moves by less than half a point.@@ -45,7 +45,7 @@ reasoning rather than arithmetic. On the long DeepMind expression chains (`mixedhas already been given, until it runs out of its token budget, and the next release targetsthis.-These numbers are the best mode per benchmark across our development checkpoints. The+These numbers are the best mode per benchmark across the development checkpoints. Thereleased checkpoint contains all the features behind them, and its own full sweep will replacethis table.@@ -155,7 +155,7 @@ The model needs no custom modelling code. [`docs/running.md`](docs/running.md) cdetails:- the tools and system prompts that work best- the generation settings shipped in `generation_config.json`-- the optional decoder settings our benchmarks used (`fp` and `tc` in `BatchDecoder`), which make+- the optional decoder settings the benchmarks used (`fp` and `tc` in `BatchDecoder`), which makeinline mode stronger## Experimental: a RISC-V computer inside Qwen