mega002 / ff-layers
The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. EMNLP, 2021.
☆90Updated 3 years ago
Alternatives and similar repositories for ff-layers:
Users that are interested in ff-layers are comparing it to the libraries listed below
- ☆89Updated last year
- Inspecting and Editing Knowledge Representations in Language Models☆112Updated last year
- ☆61Updated last year
- This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Ca…☆59Updated last year
- A Kernel-Based View of Language Model Fine-Tuning https://arxiv.org/abs/2210.05643☆74Updated last year
- Github repository for "FELM: Benchmarking Factuality Evaluation of Large Language Models" (NeurIPS 2023)☆58Updated last year
- ☆46Updated 7 months ago
- ☆47Updated 11 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆50Updated 3 months ago
- ☆21Updated 2 weeks ago
- ☆85Updated 2 years ago
- ☆80Updated 7 months ago
- ☆44Updated last year
- Code for "Tracing Knowledge in Language Models Back to the Training Data"☆37Updated 2 years ago
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆97Updated last year
- How do transformer LMs encode relations?☆46Updated last year
- Grade-School Math with Irrelevant Context (GSM-IC) benchmark is an arithmetic reasoning dataset built upon GSM8K, by adding irrelevant se…☆58Updated 2 years ago
- Sparse probing paper full code.☆55Updated last year
- ☆47Updated last year
- Augmenting Statistical Models with Natural Language Parameters☆22Updated 5 months ago
- Code for the paper "A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis"☆15Updated last month
- [NeurIPS'23] Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors☆73Updated 2 months ago
- ☆75Updated last year
- ☆37Updated last year
- [EMNLP 2023] MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questions☆106Updated 6 months ago
- A library for efficient patching and automatic circuit discovery.☆56Updated 3 weeks ago
- Exploring the Limitations of Large Language Models on Multi-Hop Queries☆24Updated last week
- ☆53Updated last year
- ☆105Updated 2 years ago
- Experiments and code to generate the GINC small-scale in-context learning dataset from "An Explanation for In-context Learning as Implici…☆103Updated last year