[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115074":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},115074,"Tiny-2.1","WollyMonjac\u002FTiny-2.1","WollyMonjac","Language model for DOS that fits on a floppy disk",null,"Python",476,66,8,4,0,42,317,164,92.27,false,"main",true,[],"2026-11-17 17:46:31","2026-11-23 20:38:02","# TINY 2.1 — a transformer for DOS\n\n![TINY 2.1 running under DOS](tiny21.png)\n\nA tiny question-answering transformer written in Turbo C 2.0. It runs on a\nPentium or 486DX under plain DOS and fits on a floppy disk.\n\n- 367,000 parameters: 4 layers, 96 wide, reads and writes letter by letter\n- 8-bit weights (one scale per row), 380 KB in all\n- Needs about 540 KB of free conventional memory\n- Trained on about 3,500 facts, each asked in many wordings\n  Outside those it makes things up confidently\n- Neon full-screen interface with a live neural monitor and a PC-speaker\n  robot voice\n\nWritten by Fable 5.2 and trained by Opus 5.5.\n\n## Run\n\nCopy the files from the `dos` folder to the DOS machine, then:\n\n```\nC:\\> CD \\TINY\nC:\\TINY> TINY\n```\n\nKeep `TINY.EXE` and `TINY.BIN` in the same folder. `dos\u002FREADME.TXT` has the\nkeys, options and details. To rebuild: `TCC -ml TINY.C`\n\n## Train it yourself\n\nThe `training` folder is the complete training kit: the facts, the\ngenerator that turns them into question\u002Fanswer pairs in many wordings\n(`gen2.py`), and the PyTorch training script (`train2.py`). Needs Python 3,\nNumPy and PyTorch; a normal CPU is enough.\n\n```\ncd training\npython3 gen2.py                                   # show sample questions\npython3 train2.py train 60 more.pt --resume tiny2.pt --lr 5e-4 --decay 0.3 --eval-every 20\npython3 train2.py eval more.pt\npython3 train2.py export more.pt TINY.BIN         # TINY.EXE reads the new file\n```\n\nAdd your own facts to `training\u002Ffacts\u002F` (format in `training\u002FTRAINING.TXT`).\nExporting `tiny2.pt` unchanged gives exactly the released `TINY.BIN`.\n\n## Licence\n\nCode: MIT (`LICENSE`). Three data files derived from public datasets keep\ntheir own licences (ODbL and CC BY-SA); see `DATA_LICENSES.md`.\n","这是一个专为DOS环境设计的极简问答式Transformer语言模型，可在486DX或Pentium级老式PC上运行，整体体积控制在1.44MB软盘容量内。模型仅含36.7万参数，采用8位量化权重、逐字母处理机制，并以内存优化方式运行于传统内存（540KB可用空间）。配套提供基于Python\u002FPyTorch的训练工具链，支持用户自定义事实库并重新导出BIN模型文件。适用于复古计算实验、嵌入式AI教学演示、低资源NLP原理验证等轻量级场景。",2,"2026-11-24 04:50:15","CREATED_QUERY"]