The Engram Course
Lessons
- 01CONCEPT6 MIN6 SLIDES2 QUESTIONSMemory instead of compute
What Engram is, why a lookup table belongs next to Mixture-of-Experts, and what DeepSeek measured with it.
- 02CONCEPT5 MIN4 SLIDES2 QUESTIONSTokenizer compression
Why Engram merges vocabulary entries that normalize to the same text before hashing, and how much that shrinks real vocabularies.
- 03MATH7 MIN7 SLIDES2 QUESTIONSHashing n-grams into tables
The multiplicative-XOR hash, why each head's table has a prime size, why several heads, and how big the tables get.
- 04MATH7 MIN6 SLIDES2 QUESTIONSThe gate and the short conv
How the hidden state decides how much memory to let in, why the demo takes a signed square root, and what the dilated causal conv adds.
- 05CODE8 MIN8 SLIDES2 QUESTIONSCoding it: PyTorch to Hyperfield
DeepSeek's demo Engram next to a Hyperfield (TypeScript) version, op by op, with a live layer that matches PyTorch.
- 06CONCEPT7 MIN8 SLIDES3 QUESTIONSTraining and serving Engram
Where the layers go, how much of the parameter budget to give them, the training recipe, serving a 100B table from host memory, and what Engram ends up storing.