HarryR/z80ai
Z80-μLM is a 2-bit quantized language model small enough to run on an 8-bit Z80 processor. Train conversational models in Python, export them as CP/M .COM binaries, and chat with your vintage computer. observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 79
- Release rhythm 34
- Longevity 18
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 255
- days_rel: 227
- days_push: 126
- n_releases_24m: 1
Adoption not part of the score
1117 stars · 50 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Z80-μLM is a 2-bit quantized micro language model designed to run on 8-bit Z80 processors with only 64KB of RAM, exportable as ~40KB CP/M .COM binaries or ZX Spectrum .TAP files. It includes Python training tools with quantization-aware training and pre-built examples like a chatbot and a 20 Questions game.
Use cases
- run a tiny language model on a vintage Z80 computer
- train a conversational chatbot in Python and export it as a CP/M .COM binary
- build a 20 Questions game for retro hardware
- experiment with extreme 2-bit weight quantization
- deploy a self-contained chatbot with no floating point on 64KB RAM
- generate training data for tiny models using Ollama or Claude API
- run a chatbot on a ZX Spectrum emulator
When to choose
- you want to run a language model on retro Z80 hardware or emulators like CP/M or ZX Spectrum
- you need an extremely small, self-hosted chatbot binary with integer-only inference
- you want to learn quantization-aware training and tiny ML techniques
- you enjoy retrocomputing projects with a fun, personality-driven twist
When to avoid
- you need a capable, production-quality language model or assistant
- you require modern NLP features like large context windows or fluent generation
- you need a licensed, well-supported library for commercial use (no license is specified)
- your target platform is not Z80-based
Facets
library · maturity active
machine-learning llm-inference chatbot serialization machine-learning chatbots embedded-systems python cross-platform tinyml retrocomputing z80 cpm 2-bit-quantization quantization-aware-training code-golf zx-spectrum vintage-computing quantization natural-language-processing
1 source
- readme: https://github.com/HarryR/z80ai · fetched 2026-08-28 · 2db5028d226a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| HarryR/z80ai | main | 51 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem