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.
☆89Updated 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
- Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆39Updated last month
- A Kernel-Based View of Language Model Fine-Tuning https://arxiv.org/abs/2210.05643☆74Updated last year
- ☆47Updated 9 months ago
- ☆34Updated 11 months ago
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆42Updated last year
- This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Ca…☆58Updated last year
- ☆43Updated 5 months ago
- Inspecting and Editing Knowledge Representations in Language Models☆111Updated last year
- ☆75Updated 5 months ago
- ☆44Updated 4 months ago
- Experiments and code to generate the GINC small-scale in-context learning dataset from "An Explanation for In-context Learning as Implici…☆100Updated last year
- ☆42Updated 11 months ago
- ☆84Updated 2 years ago
- The official code of EMNLP 2022, "SCROLLS: Standardized CompaRison Over Long Language Sequences".☆70Updated last year
- Github repository for "FELM: Benchmarking Factuality Evaluation of Large Language Models" (NeurIPS 2023)☆57Updated last year
- [NeurIPS'23] Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors☆71Updated 3 weeks ago
- ☆44Updated last year
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆95Updated last year
- DEMix Layers for Modular Language Modeling☆53Updated 3 years ago
- Offical code of the paper Large Language Models Are Implicitly Topic Models: Explaining and Finding Good Demonstrations for In-Context Le…☆70Updated 9 months ago
- ☆85Updated last year
- ☆75Updated last year
- AI Logging for Interpretability and Explainability🔬☆97Updated 7 months ago
- ☆105Updated 2 years ago
- ☆29Updated 9 months ago
- Semi-Parametric Editing with a Retrieval-Augmented Counterfactual Model☆66Updated 2 years ago
- Grade-School Math with Irrelevant Context (GSM-IC) benchmark is an arithmetic reasoning dataset built upon GSM8K, by adding irrelevant se…☆58Updated last year
- Repo for the paper "Large Language Models Struggle to Learn Long-Tail Knowledge"☆74Updated last year
- ☆93Updated last year