How wollymonjac/tiny-2.1 works
TINY 2.1 is a small DOS question-answering transformer with a separate Python training kit. The main user workflow is to enter a question in the DOS program, have its letter-by-letter model produce an answer, and see the live monitor and hear the robot voice. The training workflow turns fact files into varied question-answer examples, trains and evaluates a PyTorch model, then exports weights for DOS. The graph also shows geography fact enrichment. Some runtime and training details are supported by README statements rather than sampled implementation excerpts.
Main entry points: TINY.C Letterwise inference · train2.py Model trainer · facts Fact corpus · gen2.py Question generator
Components 14
DOS Runtime
- Question interface
dos/TINY.C - Letterwise inference
dos/TINY.C - Neural monitor
dos/TINY.C - Speaker voice
dos/TINY.C - DOS weights
dos/TINY.BIN
Training Data
- Fact corpus
training/facts - Geography enrichment
training/geo2.py - Extra fact enrichment
training/extra_facts.py - Question generator
training/gen2.py
Model Training
- Model trainer
training/train2.py - Model checkpoint
training/tiny2.pt - Exported weights
training
Other components
- DOS user
- Training user
Connections 13
- DOS user → Question interface: asks question
README.md - Question interface → Letterwise inference: runs inference
README.md - Letterwise inference → DOS weights: reads weights
README.md - Letterwise inference → Neural monitor: reports progress
dos/TINY.C - Letterwise inference → Speaker voice: speaks letters
README.md - Training user → Question generator: generates examples
README.md - Fact corpus → Question generator: supplies facts
README.md - Question generator → Model trainer: samples pairs
training/train2.py - Model trainer → Model checkpoint: saves model
training/train2.py - Model trainer → Exported weights: exports weights
README.md - Exported weights → DOS weights: replaces weights
README.md - Geography enrichment → Fact corpus: writes geography facts
training/geo2.py - Extra fact enrichment → Fact corpus: writes extra facts
training/extra_facts.py