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
- ☆61Updated last year
- ☆92Updated last year
- A Kernel-Based View of Language Model Fine-Tuning https://arxiv.org/abs/2210.05643☆74Updated last year
- Inspecting and Editing Knowledge Representations in Language Models☆112Updated last year
- ☆44Updated 6 months ago
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆43Updated last year
- ☆44Updated last year
- ☆47Updated 7 months ago
- Repo for the paper "Large Language Models Struggle to Learn Long-Tail Knowledge"☆75Updated last year
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆50Updated 3 months ago
- Sparse probing paper full code.☆55Updated last year
- ☆85Updated 2 years ago
- ☆80Updated 7 months ago
- ☆47Updated last year
- ☆74Updated last year
- ☆48Updated 11 months ago
- ☆34Updated 11 months ago
- 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
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆97Updated 2 years ago
- ☆37Updated last year
- Experiments and code to generate the GINC small-scale in-context learning dataset from "An Explanation for In-context Learning as Implici…☆104Updated 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
- ☆105Updated 2 years ago
- ☆94Updated last year
- ☆22Updated 3 weeks ago
- Augmenting Statistical Models with Natural Language Parameters☆23Updated 6 months ago
- A library for efficient patching and automatic circuit discovery.☆57Updated last month
- Exploring the Limitations of Large Language Models on Multi-Hop Queries☆24Updated 2 weeks ago
- Code for "Tracing Knowledge in Language Models Back to the Training Data"☆37Updated 2 years ago
- Supporting code for ReCEval paper☆28Updated 6 months ago