WollyMonjac/Tiny-2.1

Language model for DOS that fits on a floppy disk

What it solves

It lets you run a real neural-network question-answering model on DOS hardware (a Pentium or 486DX) that normally can't handle such software. The entire program is compact enough to fit on a floppy disk and run in plain DOS with limited memory.

How it works

It's a transformer neural network with 4 layers and 96 units per layer (367,000 parameters total). It reads and writes text one letter at a time. To keep it small, the weights are stored in 8-bit format with one scale per row, bringing the total size to 380 KB. It needs about 540 KB of free conventional memory. The model was trained on roughly 3,500 facts, each asked in many different wordings. The interface is a neon full-screen display with a live neural monitor and a PC-speaker robot voice. To train it yourself, the included Python kit generates question/answer pairs from your facts and uses PyTorch to train the model, then exports it to a TINY.BIN file that the DOS program reads.

Who it’s for

Retro-computing fans, hobbyists, and developers who want to see neural networks run on vintage hardware, or anyone who wants to train a tiny transformer on their own custom facts using the provided Python training kit.

Highlights

  • Runs on a Pentium or 486DX under plain DOS and fits on a floppy disk.
  • Extremely compact: 367,000 parameters and 380 KB total size using 8-bit weights.
  • Includes a complete training kit (facts, generator, PyTorch script) so you can train on your own data.
  • Features a neon full-screen interface with a live neural monitor and PC-speaker robot voice.
  • Honest about limitations: it makes things up confidently outside its ~3,500 trained facts.
  • Code is MIT-licensed; three data files keep their own public-dataset licences (ODbL and CC BY-SA).

Related

  • Project
  • Project
  • Project
  • Project