dbreunig / nesformer
git clone https://github.com/dbreunig/nesformer.git
Runs an NES's 6502 CPU, work RAM, and cartridge ROM inside the weights of a stock Qwen3.5 model, with a host program supplying the rest of the console.
Why you might care
A curiosity and research project showing a CPU can be compiled into transformer weights, with the Gated DeltaNet state acting as machine memory. Frames from bundled test games match a conventional 6502 emulator exactly, and the checkpoint loads in stock transformers.
+64
stars, 24h · #731
+251
stars, 7 days · #1,156
+251
stars, 30 days · #4,044
268
★ total · +251% this week
9
forks · 0 open issues
Star history (as recorded here)
LanguagePython
License—
Created2026-10-30 (2d ago)
Last push2d ago
Watchers0
OwnerUser
Links
README
Loading README…
Blurb generated by claude-haiku-5-5 1d ago. Star deltas marked ~ are extrapolated from partial history.