#438 · Primary category: Education & Research
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.
Project last updated:04/29/26
GitHub Stars
1.1K
Forks
50
Contributors
7
License
Other
Why we included this project
Z80-μLM pushes a language model down to the smallest practical scale: 2-bit weights and 16-bit integer math packed into a ~40KB binary that runs on a 4MHz Z80 with just 64KB of RAM. You train a conversational model in Python, export it as a CP/M .COM file, and chat with it on an emulator or real vintage hardware. The included examples, a terse chatbot and a 20-questions game, give quick tangible results. For anyone curious about quantization and extreme resource limits, the project is a clear walkthrough from training to a working binary, which makes it a good learning resource and a fun retrocomputing experiment.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI