kmeng01/memit

Mass-editing thousands of facts into a transformer memory (ICLR 2023)

46
/ 100
Emerging

Implements rank-one model editing by identifying and modifying key memory neurons in transformer MLPs, enabling efficient batch updates to factual knowledge without full retraining. Targets GPT-style language models (tested on GPT-J, GPT-2) through a Python API that accepts structured rewrite requests specifying subject-prompt-target triples. Includes comprehensive evaluation tools measuring edit success, generalization, and side effects across thousands of simultaneous edits.

543 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

543

Forks

72

Language

Python

License

MIT

Last pushed

Jan 31, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/kmeng01/memit"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.