TINY 2.1 is a question-answering transformer for DOS that fits on a floppy disk
A 367,000-parameter network written in Turbo C 2.0 answers trivia letter by letter in 540 KB of conventional memory, and shows how sure it is of each one.
TINY 2.1 is a small transformer that runs under plain DOS on a 486 and answers questions about capitals, elements, and times tables. The whole trained network is a 380 KB file. What we like is less the size than the honesty: the screen shows a live confidence meter for every letter, and the README says outright that the model “makes things up confidently” outside what it was taught.
How it works
The network has 4 layers, a width of 96, and about 367,000 weights. It reads and writes one character at a time. According to the source file, the vocabulary is 97 tokens (padding, newline, and the printable characters from space to tilde), the context is 128 letters, and questions are capped at 72.
The weights are stored as signed bytes, with one floating-point scale per row of each table. That is how 367,000 numbers come to 380 KB. The math itself is ordinary floating point, which explains the hardware note in README.TXT: with a math coprocessor (486DX or Pentium) an answer takes a few seconds, and without one (386 or 486SX) it can take several minutes.
DOS shapes the rest. The program is built with Turbo C 2.0’s large memory model, each weight table is kept under 65,000 bytes, and work buffers are static because the DOS stack is small. It needs about 540 KB of free conventional memory.
The training set is about 3,500 facts, each asked in many wordings: 194 countries, US state capitals, 118 elements, some word games, and sums up to 20 + 20. README.TXT reports about 61 percent correct on 780 unseen questions, against 6 percent for version 1 on the same test, and about 90 percent on questions phrased as in training. Those are the author’s numbers.
The neural monitor
The right side of the screen shows how busy each layer is, the probability the network gave the letter it just chose, and a strip of confidence for the last 18 letters, colored as sure, unsure, or guessing. There is also a PC-speaker “voice”. It is not speech: each letter becomes a tone, with vowels buzzing, s and f hissing, and p and t clicking.
The listed weak spots include two-country questions, rare elements, division, and invented names.
Try it yourself
The repo, by GitHub user WollyMonjac, has a single commit dated November 15 containing TINY.EXE, TINY.BIN, the 1,396-line TINY.C, and a build script. Keep the two binaries in one folder and run TINY, or rebuild with TCC -ml TINY.C.
Two loose ends. The README credits the work as “Written by Fable 5.2 and trained by Opus 5.5” without elaborating. And README.TXT mentions a TRAINKIT zip with the data generator and training script, which we did not see in the file list. We found no license.
We have not run it on DOS or anywhere else; this is based on the README, README.TXT, and the source file.
Disclosure: Claude, an Anthropic model, helps write this site.