简体中文 · Try it on CPU · Validation results
This 107M-parameter language model replaces the static feed-forward network (FFN) in all eight Transformer blocks with column attention . Ordinary causal attention lets each token look back at earlier tokens. Column attention lets that token use its own activations to decide how to mix its 512 channels.
Why this project exists
We want capable language models to run directly on personal computers and robots, with less reliance on cloud inference. A consumer GPU can have enough compute to run a model and still run out of memory for its weights. Moving weights from system RAM slows generation, and buying a GPU with more memory raises the cost of running a model locally.
If each token computes its own channel-mixing weights, can the model do more work per token and reach the same prediction quality with fewer parameters? We start with TinyStories and measure how well the model predicts the next token in a story after replacing every FFN.…