123456
The N-Grammer CourseLatent n-gram memory for transformers, one step at a time.
A free, interactive course on N-Grammer layers: product quantization, latent bigram ids, the embedding table, the centroid loss, and a working layer in PyTorch and Hyperfield (TypeScript) side by side.
6 LESSONS~39 MIN15 QUESTIONSCONCEPT · MATH · CODE
123456
The Engram CourseDeepSeek's conditional memory for transformers, from hash to gate.
A free, interactive course on DeepSeek's Engram: tokenizer compression, multi-head n-gram hashing, the context-aware gate and short conv, a working layer in PyTorch and Hyperfield (TypeScript) side by side, and how the tables are trained and served from host memory.
6 LESSONS~40 MIN13 QUESTIONSCONCEPT · MATH · CODE