Compact n-gram memory: trie indexing, row compression and mmap lookup. FastText C++ prototype plus byte-exact row-store experiments for Engram-style memory.
-
Updated
Oct 23, 2026 - Python
Compact n-gram memory: trie indexing, row compression and mmap lookup. FastText C++ prototype plus byte-exact row-store experiments for Engram-style memory.
TinyEngram — a 10-lab, test-driven course to implement DeepSeek Engram conditional memory from scratch: retrieval, gating, training, inference, and systems optimization.
Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models
Engram conditional-memory sparse LLM framework
One external n-gram memory table, two exits for frozen LLMs: distribution fusion (quality) and speculative drafting (speed), with cheap alignment probes that predict when each pays.
To associate your repository with the conditional-memory topic, visit your repo's landing page and select "manage topics."