# I Trained a Tiny Language Model to Run on a 1975 8-Bit Processor

Original title: Autoregressive Language Model on the 6502 Processor

> Hacker News story 49122655 · language: en · submitted 2026-07-31
> Web version: https://zeli.app/story/49122655
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 131 · by [nmstoker](<https://news.ycombinator.com/user?id=nmstoker>) · 💬 12
[original](<https://mattbeton.com/blog/bitnet-6502.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49122655>)

## Summary

Matt Beton trained a BitNet-based autoregressive language model small enough to run on his dad's BBC Micro, a 1980s computer powered by the 8-bit MOS 6502 processor with only 32KB RAM. The model uses ternary weights and a Mamba-style recurrent architecture to fit within 13KB of weights and 9KB of inference code, generating text like 'once upon a time tom and lily saw things lily were sad...' directly on the vintage hardware. The project tackles challenges like the lack of a multiply instruction and memory constraints, and includes a browser-based emulator for readers to try it themselves.

## Key quote

> The CPU only operates on an 8-bit integer datatype, and doesn't include multiplication in its instruction set.

## HN discussion (12 comments)

### [bmc7505](<https://news.ycombinator.com/item?id=49149457>)

> Cool to think this demo would have been possible over fifty years ago. I wonder what someone from 1975 would have said if you had shown this to them back then.

### [toplinesoftsys](<https://news.ycombinator.com/item?id=49149451>)

> This is amazing project! I hope it will result in real miniaturization of AI - for example, edge LLM inside of glasses. That will be awesome.

### [tyromaniac](<https://news.ycombinator.com/item?id=49149391>)

> This is super cool!
>
> As someone who's worked a little with NES programming and tried out cc65, I'm surprised he didn't just hand write some assembly, he likely couldve saved a lot of space if I had to guess.

---

## Cite

- Page: https://zeli.app/story/49122655
- Date: 2026-07-31
- Source: mattbeton.com (https://mattbeton.com/blog/bitnet-6502.html)
- Hacker News: https://news.ycombinator.com/item?id=49122655

## Other languages

- zh: https://zeli.app/zh/story/49122655 · markdown: https://zeli.app/zh/story/49122655.md
- ja: https://zeli.app/ja/story/49122655 · markdown: https://zeli.app/ja/story/49122655.md
- ko: https://zeli.app/ko/story/49122655 · markdown: https://zeli.app/ko/story/49122655.md
- de: https://zeli.app/de/story/49122655 · markdown: https://zeli.app/de/story/49122655.md
- es: https://zeli.app/es/story/49122655 · markdown: https://zeli.app/es/story/49122655.md
