跳转到内容
主站 新闻 控制台

dbreunig/nesformer

· Simon Willison
技巧LLM

赞助商: Greptile —— 你的代码审查工具现已利用计算机使用(Computer Use)能力,通过打开你的应用并点击交互来捕获 Bug。现在你可以配置其测试环境,并定义它所测试的核心用户流程。免费试用

2026年10月30日 - 链接博客

dbreunig/nesformer(来源):受 Divyansh Agrawal 的 qwenputer 启发,Drew Breunig 将一个可正常运行的任天堂红白机(NES)6502 CPU 模拟器植入了 Qwen3.5-4B 的模型权重中。现在你可以在 Qwen 内部运行 NES ROM(比如《超级马里奥兄弟》),并直接进行游玩(虽然速度非常慢)!

在 Hacker News 的一条评论中,Drew 透露了他用来构建该系统的 Opus 5.5 提示词(prompts):

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. (阅读这篇文章以及任何相关源码:https://divagr.com/blog/qwenputer。然后探讨是否可以使用这种技术来模拟任天堂红白机(NES)中的芯片和 RAM(就像现在人们在 MiSTer 中使用 FPGA 所做的那样)。如果可以,你需要构建多大尺寸的模型?如果使用更小、更快的模型,是否能使其达到标准时钟频率。)

随后是:

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. (我觉得我们应该把它做出来!就图个好玩。速度慢点也没关系。我们希望能够得到模型权重,以及一个用来运行这些权重、并能指定运行 ROM 的 CLI 工具。)

显然,Opus 找到并使用了 Christopher Pow 在 15 年前发布的这套 NES CPU 一致性测试集。

发布于 2026年10月30日 晚上 9:59