dbreunig/nesformer
An NES CPU compiled into the weights of a stock Qwen3.5 model
- Stars288
- LanguagePython
- LicenseOther
An NES CPU compiled into the weights of a stock Qwen3.5 model
An NES CPU compiled into the weights of a stock Qwen3.5 model
The NES's 6502 CPU (the core of its 2A03 chip), its 2 KB of work RAM, and a cartridge's program ROM run inside a standard Qwen3_5ForCausalLM checkpoint. Nobody trained these weights; a compiler computed every one. When you play a game, the model predicts the CPU's execution log one token at a time. A small host program plays the rest of the console around it: it draws the picture, reads the controller, and fires…
nesformer builds on Qwenputer by Divyansh Agrawal, which compiled a CHIP-8 and then a RISC-V CPU into Qwen3.5-4B. It reuses Qwenputer's compiler and its central trick: the model's Gated DeltaNet state is the machine's memory.
Description and README excerpt from dbreunig/nesformer on GitHub ↗.
dbreunig/nesformer was first seen on GitHub · Rising this week on Nov 6, 2026. Since then it has appeared in 11 checks on 1 different day. Its best position was #1 of 1, reached on Nov 6, 06:34 UTC. It dropped off the list after Nov 6, 09:00 UTC. The same link also trended on Hacker News, which raises its cross-platform score.
Position on GitHub · Rising this week at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by GitHub.
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| GitHub · Rising this week | #1 | 1 | 11 | |
| YHacker News · Front page A Working Nintendo in ~1GB of Qwen Weights | same link | |||
| YHacker News · Show HN · this week Show HN: A working Nintendo in ~1GB of Qwen weights | same link | |||
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. It was last on the list on Nov 6, 09:00 UTC, after 1 day of trending.
#1 on GitHub · Rising this week, on Nov 6, 06:34 UTC. Trendoday checks this list every 180 minutes.
It was first seen on Nov 6, 2026 and has been on the list on 1 day (11 checks) since.
Mostly Python; it is licensed under Other. It has 288 stars and 9 forks.