Latest / AI & agents

Z80-μLM

github.com · Open source · Maintained

Tiny character-level language model that runs on a Z80 processor

Visit github.com ↗Share

Stars
1.1k
Forks
48
Open issues
6
Last commit
Releases
1
Found
11 months ago

GitHub figures as of . They are context, not a ranking.

Z80-μLM is a character-level language model with 2-bit quantized weights, packaged as a 40 KB CP/M program that runs on a Z80 with 64 KB of RAM. A Python toolchain exports trained models as .COM binaries for retro machines or emulators.

Repository description on GitHub: “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.”

What it does

  • Character-level language model with 2-bit quantized weights
  • Chat and 20 Questions examples packaged as a 40 KB CP/M program
  • Python toolchain exports trained models as .COM binaries
  • Runs on a Z80 with 64 KB of RAM or in an emulator

Good for

  • Run a tiny chatbot on a retro CP/M machine or emulator
  • Train and export a small quantized model for a Z80

Suits: Retrocomputing fans and tinyML hobbyists.

Worth knowing: The model is very small and, per the maker, will not write your emails.

What you can try

Run the .COM file in a CP/M emulator, using the build steps in the GitHub repository.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Z80-μLM on , when quesomaster9000 posted it to Show HN. The oldest published release on GitHub is v0.2, dated . Its first tagged release came 20 days after it was found.

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 514 points, 122 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v0.2 (18 Jan 2026)
  • Show HN discussion at check time: 514 points, 122 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: HarryR/z80ai
  2. Found: quesomaster9000 posted it to Show HN. Show HN
  3. Release v0.2
  4. Day-7 check recorded by Kip (details)
  5. Day-30 check recorded by Kip (details)

Quick answers

When was Z80-μLM released?
Its first tagged release on GitHub is dated 18 Jan 2026. Kip found it on Show HN on 29 Dec 2025.
Is Z80-μLM open source?
Its source is public on GitHub at HarryR/z80ai; check the repository for licence terms.
What does Z80-μLM run on?
Command line.
Is Z80-μLM free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Z80-μLM still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryHarryR/z80ai
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-46417815. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.