AI语言模型塞进软盘,适配486DX与Pentium

一位颇有灵感的开发者把语言模型塞进了一张软盘,专门为运行 DOS 的 486DX 和 Pentium PC 用户打造。请注意,WollyMonjac 的这个项目并不是大语言模型(LLM)。尽管它与体量大得多的同类共享 transformer 模型架构,Tiny 2.1 却被谦逊地描述为“一个用 Turbo C 2.0 编写的小型问答 transformer”。
软盘上没有多少空间容纳现代软件,486 时代典型 PC 格式化软盘的数据容量仅略低于 1,475,000 字节。Tiny 2.1 尽可能充分利用这一有限的余量,装下了以下内容:
你那台吱呀作响的老 PC 需要约 540KB 的空闲常规内存才能运行 Tiny 2.1。如果你真去测试它,我们相信你会喜欢它简洁的 UI:包含对话历史窗格、神经监控面板和 Ask Tiny 提示窗口。正如所有 DOS 程序应有的那样,UI 内突出显示了一系列 F 键快捷键。不过,或许真正的复古未来主义点睛之笔,是可以用 PC 扬声器发出的机器人语音来朗读回复。
我们已经提到,这位开发者对这个 DOS 程序似乎相当谦逊。GitHub 仓库称它“由 Fable 5.2 编写,由 Opus 5.5 训练”。Monjac 还自嘲地承认,在这个语言模型的训练范围之外,“它会自信地编造内容”。近几个月我们听到关于 LLM 幻觉的讨论少了,但在这里它几乎像是一个有趣的特性。
如果 Tiny 2.1 的任何知识空白让你困扰,WollyMonjac 在 MIT 许可的分发版本中附带了一个训练文件夹。有心的用户或许能构建出一个针对自己喜爱主题的能力不错的问答 transformer。
如今,让旧软件在你崭新的硬件上运行,无论以何种方式,都相当容易。不过,这并非完全是单向的;让现代应用或游戏在几十年前的硬件上运行,则是一个令人兴奋、且我们正看到其逐渐确立的发展趋势。除了作为头条的 Tiny 2.1 之外,我们还报道过类似这种新旧结合却又显得违和的软件项目,比如用于 DOS 的 ChatGPT 客户端,在 Game Boy 上运行 Minecraft,在 C64 上用生成式 AI 生成图像,或在 Atari ST 上玩 Doom。
译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(Dev squeezes an AI language model onto a floppy for 486DX and Pentium PC stalwarts)
An inspired developer has shoehorned a language model onto a floppy disk created especially for 486DX and Pentium PC users running DOS. Please note that WollyMonjac’s project isn’t a large language model (LLM). Though it shares the transformer model architecture of its much bigger siblings, Tiny 2.1 is humbly described as “a tiny question-answering transformer written in Turbo C 2.0.”
There isn’t much room for modern software on a floppy disk, with a typical PC formatted disk in the 486 era boasting just shy of 1,475,000 bytes of data capacity. Tiny 2.1 makes the best use of this limited headroom as possible, fitting in the following:
- 367,000 parameters: 4 layers, 96 wide, reads and writes letter by letter
- 8-bit weights (one scale per row), 380 KB in all
- Trained on about 3,500 facts, each asked in many wordings
Your creaky old PC will need about 540KB of free conventional memory to run Tiny 2.1. If you do test it, we are sure you will appreciate the clean UI with its conversation history pane, neural monitor panel, and Ask Tiny prompt window. As all DOS programs should, there’s a range of F-key shortcuts highlighted within the UI. Perhaps the retro-futuristic cherry on the cake, though, is the PC-speaker robot voice which can be used to speak the responses.
We’ve already indicated that the dev seems rather humble about this DOS program. The GitHub repository says it was “Written by Fable 5.2 and trained by Opus 5.5.” Monjac also wryly admits that outside of this language model’s training, “it makes things up confidently.” We have heard less about LLM hallucinations in recent months, but here it feels almost like a fun feature.
Should any of Tiny 2.1’s knowledge gaps irk you, WollyMonjac has included a training folder in the MIT-licensed distribution. A dedicated user could probably build up a capable question-answer transformer tailored to their favorite topic(s).
Nowadays it is pretty easy to get old software to run on your shiny new hardware, one way or another. It isn’t entirely a one-way street, though; getting modern apps or games to run on hardware from decades earlier is an exciting development trend we are seeing established. In addition to the headlining Tiny 2.1, we’ve reported on similarly incongruous new-meets-old software projects like the ChatGPT client for DOS, or Minecraft running on a Game Boy, creating images on the C64 with generative AI, or playing Doom on an Atari ST.
正文保留英文原文,标题与摘要由机器翻译。
原文发布于 Tom's Hardware(Dev squeezes an AI language model onto a floppy for 486DX and Pentium PC stalwarts),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。
