snap-stanford/memorilla
🦍 Memorilla: Latent Semantic Memory for LLMs
Compressing Entire Document Collections into 16 Memory Tokens — Memorilla is a Stanford research system that condenses an entire document collection into a fixed set of query-dependent memory tokens for a frozen LLM. With just 16 tokens, it beats Mem0 and MemoRAG on average and even outperforms feeding every document on FactKG (84.33% vs 80.43%) using 108x fewer tokens, while also boosting an agent's TextWorld success rate from 18.6% to 24.2%.
Metrics
Retention can be computed 30 days after a repository first trends (it isn't shown until then). See About for how each metric is defined.
Star growth and Trending appearances (last 30 days)
Bands mark days on the trending list (darker = higher rank)
Daily trending ranks as a table (1 days)
| Date | Daily |
|---|---|
| Nov 10, 2026 | python #15 +62 |
Created Jun 23, 2026 · First on trending Nov 10, 2026
Other notable repositories in the same category (LLMs & ML)
- kerlenton/bootgpt
- scienthoon/jev-ood-calibration
- alejandrohdez00/alien-space-of-science
- microsoft/VibeVoice
- neuml/txtai
See all LLMs & ML repositories →
Rank within llm
| # | Repository | ★ |
|---|---|---|
| 1 | morluto/rea | 450,256 |
| 2 | affaan-m/ECC | 300,847 |
| 3 | NousResearch/hermes-agent | 262,483 |
| 4 | firecrawl/firecrawl | 200,574 |
| 5 | DietrichGebert/ponytail | 188,458 |
| 6 | Significant-Gravitas/AutoGPT | 187,986 |
| 7 | ollama/ollama | 186,586 |
| 8 | huggingface/transformers | 168,755 |
| 9 | langgenius/dify | 160,905 |
| 10 | open-webui/open-webui | 158,330 |
| 206 | snap-stanford/memorilla | 801 |