What is Hackers' Pub?
Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.







![👾According to the readme file, "Z80-μLM is a 'conversational AI' that generates short character-by-character sequences, with quantization-aware training (QAT) to run on a Z80 processor with 64kb of RAM." [HarryR]'s goal is to see how small an AI project can go, while still having a "personality". Can the AI be trained and fine-tuned? It seems that [HarryR] has done it in just 40KB, including inference, weights, and chat style user interface.👾
⁉️[HarryR] has kindly detailed the features of this Z80 AI project⁉️
• Trigram hash encoding: Input text is hashed into 128 buckets - typo-tolerant, word-order invariant
• 2-bit weight quantization: Each weight is {-2, -1, 0, +1}, packed 4 per byte
• 16-bit integer inference: All math uses Z80-native 16-bit signed arithmetic
• ~40KB .COM file: Fits in CP/M's Transient Program Area [TPA]
• Autoregressive generation: Outputs text character-by-character
• No floating point: Everything is integer math with fixed-point scaling
• Interactive chat mode: Just run CHAT with no arguments](https://nerdculture.de/system/media_attachments/files/116/148/301/433/692/010/original/c631e825f82f8556.jpeg)










