跳到正文
Simon Willison·· 2026-10-31

dbreunig/nesformer

dbreunig/nesformer

中文摘要

dbreunig/nesformer 受到 Divyansh Agrawal 的 qwenputer 启发,Drew Breunig 将一个可工作的任天堂娱乐系统 6502 CPU 模拟器嵌入到了 Qwen3.5-4B 的权重中。现在,你可以在 Qwen 中运行 NES ROM 文件,例如《超级马里奥兄弟》(虽然运行速度非常慢)。在 Hacker News 上的一条评论中,Drew 揭示了他用来构建这个系统的 Opus 5.5 提示:阅读这篇文章和任何相关源代码:https://divagr.com/blog/qwenputer。然后,探索你是否可以使用这种技术来模拟任天堂娱乐系统中的芯片和内存(就像人们今天使用 FPGA 在 MISTRs 中所做的那样)。如果可以,你需要构建多大规模的模型?如果你可以使用更小更快的模型,是否可以达到标准时钟速度?接着他写道:“我认为我们应该建造它!只是为了好玩。即使它不快也没关系。我们想要拥有这些权重,以及一个可以指向 ROM 文件的命令行界面。” 据说 Opus 发现并随后使用了 15 年前由 Christopher Pow 发布的 NES CPU 一致性测试套件。via Hacker News 标签:游戏,人工智能,生成式人工智能,大型语言模型,drew-breunig,qwen,一致性测试套件

英文原文

dbreunig/nesformer Inspired by qwenputer by Divyansh Agrawal, Drew Breunig baked a working emulator for a Nintendo Entertainment System 6502 CPU into the weights of Qwen3.5-4B. You can now play NES ROMs such as Super Mario Bros (very slowly) running inside Qwen! In a comment on Hacker News Drew reveals the Opus 5.5 prompts he used to build this system: Read this article and any relevant source code: https://divagr.com/blog/qwenputer. Then explore if you could emulate the chip and ram in a Nintendo Entertainment System (as people do today with FPGAs in MISTRs) using this technique. If so, what size model would you have to build and if you could use smaller faster ones, could you get it to be at the standard clockspeed. Followed by: I think we should build it! Just for fun. It's okay if it's not fast. We want to be able to have the weights, and a cli to run them that we can point at a ROM. Apparently Opus found and then used this collection of conformance tests for the NES CPU released 15 years ago by Christopher Pow. Via Hacker News Tags: games , ai , generative-ai , llms , drew-breunig , qwen , conformance-suites

应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。

来源:Simon Willison · simonwillison.net