Downloads · 30 days
0
star0628/thought-retriever
thought-retriever is a machine learning model from star0628. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Don't Just Retrieve Raw Data — Retrieve Thoughts
Downloads · 30 days
0
Access
Public
Updated May 18, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py119 KB · 74%
From the Hugging Face model README
Don't Just Retrieve Raw Data — Retrieve Thoughts
A self-evolving long-term memory system for LLM-based agents, based on the paper by UIUC, MIT & CMU (TMLR 2026).
pip install numpy jieba
git clone https://github.com/mhx0628/thought-retriever
from thought_retriever import ThoughtMemory, ThoughtConfig
config = ThoughtConfig(project_path=".", language="zh")
memory = ThoughtMemory(config=config)
memory.add_knowledge("小明今年10岁,喜欢画画和踢足球")
results = memory.retrieve("小明喜欢什么")