Downloads · 30 days
0
rikkathree/vsa-lm
vsa-lm is a machine learning model from rikkathree. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
VSA-LM A 100M parameter language model with a fixed-size memory instead of the usual growing attention cache.
Downloads · 30 days
0
Access
Public
Updated Sep 7, 2026
Repo size
604 MB
Likes
0
Public
Click a slice to open those files.
.pth604 MB · 100%
From the Hugging Face model README
VSA-LM A 100M parameter language model with a fixed-size memory instead of the usual growing attention cache.
I built this to answer one question: can a small model with linear-attention memory layers actually keep up with a regular transformer if you train them identically? Turns out, at this scale, yes — it matches within noise, while using a lot less memory to run. And it can do something transformers can't: you can write a document into its memory and erase it again, exactly.
Details
Limitations
Code and training scripts: github.com/Rikka3/vsa-lm