GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

Simon Willison · 2026年11月23日

AI 摘要 AI 生成,可能有误

中国AI实验室Z.ai发布了GLM-5.4,这是其首个采用循环Transformer架构的模型——权重共享的层在每次前向传播中运行多次迭代,从而在不增加参数数量的情况下实现更深入的推理。作者通过Z.ai的API测试了该模型(需要订阅Coding Plan,因为权重尚未开源),并构建了一个llm-glm插件来访问它。在比较各代GLM模型绘制的鹈鹕图像输出时,作者注意到5.3和5.4现在看起来更像OpenAI和Anthropic的模型,与GLM 5.1和5.2独特的风格形成了鲜明转变。

GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

GLM 5.4 is now available from Chinese AI lab Z.ai. It's their first model to use a looped transformer architecture, which they describe like this:

In a standard Transformer, each layer runs once per forward pass. In a Loop Transformer, a group of weight-shared layers runs for multiple iterations, refining the hidden states from the previous pass. This gives us a deeper network without increasing the parameter count.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Simon Willison

Large CSV imports in Datasette (Datasette Advent Day 1)

AI 摘要The author is publishing daily videos through December demonstrating new Datasette features in an advent calendar format. The first video covers large CSV and TSV imports newly added in Datasette 1.0a46, where files of any size are streamed, parsed in the browser, and sent to the insert API in batches. The demonstration includes importing 26,000 rows of iNaturalist data in seconds, plus faceting for analysis and a new UI for selecting and reordering table columns.

datasette 1.0a46

AI 摘要The datasette 1.0a46 alpha release introduces a major new feature for large CSV imports, which is demonstrated in the first video of a new advent calendar series running up to Christmas. Additionally, row pages now list incoming many-to-one foreign key rows, formatted similarly to the new many-to-many feature.

ty 1.0

AI 摘要ty, Astral's fast Python type checker, has reached version 1.0 and is now recommended for production use. It is the default type checker at OpenAI, where migrating to it yielded a median 24x speedup and a 73% reduction in peak memory usage across millions of lines of critical Python. It also offers built-in Django support when the django-types package is installed.

AT Protocol: The Spaces Public Beta is Now Live

AI 摘要AT Protocol, the open protocol behind Bluesky, has launched the public beta of Spaces, a new feature introducing private and selectively shared data to a network that was previously entirely public. Spaces act as groups whose members gain permission to read private data hosted on the owner's Personal Data Server (PDS), allowing sharing with any group size from a personal journal to a community of millions. Rather than an end-user feature, Spaces is designed as a platform for building new applications on the open social internet.

Quoting Josh Dunsterville

AI 摘要The article quotes Josh Dunsterville responding to the announcement that Cursor has been rebranded as Grok Build, a product from SpaceXSI (previously SpaceXAI, formerly xAI, aka XAI Corp). It highlights the tangled chain of corporate renamings, noting that XAI Corp—owner of X (previously Twitter)—is itself owned by SpaceX. The piece is tagged with grok, ai, and cursor.