Hand-assigning every weight: blogger builds a working transformer with zero training

voooooogel · x · 2026-11-03

Blogger voooooogel revisits his 2023 post, resonating with the recent MIT discussion of Astra weight-editing capabilities: instead of training or using pretrained weights, he hand-assigned every weight of a GPT-2-style decoder-only transformer in one evening, making it perform a simple sequence-prediction task (predicting aabaab).

The article walks through:

An excellent tutorial for building intuition on what q, k, and v actually do in attention. Code is available.

Related event: Old hands-on guide resurfaces as MIT weight-editing claims spark interest(2 posts)→

Original post →

More from Models

Models channel →