Trendoday

snap-stanford/memorilla

🦍 Memorilla: Latent Semantic Memory for LLMs

  • Stars770
  • LanguagePython
  • LicenseApache-2.0
–Rank now
#15Peak rank
1Days on list
24Score · 7d
Nov 10, 2026First seen
Rank · 7 days

About snap-stanford/memorilla

🦍 Memorilla: Latent Semantic Memory for LLMs

This repository provides code for training and evaluating Memorilla, a memory system that gathers information from an entire document collection into a fixed number of query-dependent memory tokens for a frozen LLM. The code is based on our paper Memorilla: Latent Semantic Memory for LLMs.

A frozen LLM can only use what fits in its context window, so Memorilla reads an entire document collection, such as a user's past chats or a long book, and hands the LLM just 16 memory tokens that carry what each question needs. With this small budget, it achieves the best average performance against methods such as Mem0 and MemoRAG, and on FactKG it is even more accurate than giving the LLM every document (84.33%…

context-compressioncontinual-learningllmlong-contextmemorypersonalizationreinforcement-learningretrieval-augmented-generation
Stars
770
Forks
60
Language
Python
License
Apache-2.0
Last push
Nov 9, 2026
Created
Jun 23, 2026

Description and README excerpt from snap-stanford/memorilla on GitHub ↗.

Trending history

snap-stanford/memorilla was first seen on GitHub · Trending Python today on Nov 10, 2026. Since then it has appeared in 2 checks on 1 different day. Its best position was #15 of 16, reached on Nov 10, 05:25 UTC. It dropped off the list after Nov 10, 08:25 UTC.

Rank history

Position on GitHub · Trending Python today at every check (lower is better).

#1#6#11#16 05:2506:1006:5507:4008:25 Nov 10, 05:25 UTC · #15Nov 10, 08:25 UTC · #15

Last 14 days

Best rank per day (UTC).

Nov 3today

Metric history

Platform metric as reported by GitHub.

0204162 05:2506:1006:5507:4008:25 Nov 10, 05:25 UTC · 62Nov 10, 08:25 UTC · 62

Questions

Is snap-stanford/memorilla trending on GitHub Trending right now?

Not at the moment. It was last on the list on Nov 10, 08:25 UTC, after 1 day of trending.

What is the highest rank snap-stanford/memorilla reached?

#15 on GitHub · Trending Python today, on Nov 10, 05:25 UTC. Trendoday checks this list every 180 minutes.

How long has snap-stanford/memorilla been trending?

It was first seen on Nov 10, 2026 and has been on the list on 1 day (2 checks) since.

What language is snap-stanford/memorilla written in, and what is its license?

Mostly Python; it is licensed under Apache-2.0. It has 770 stars and 60 forks.