mega002 / ff-layersLinks
The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. EMNLP, 2021.
☆93Updated 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
Sorting:
- ☆95Updated last year
- ☆62Updated 2 years ago
- ☆35Updated last month
- Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".☆78Updated last year
- Experiments and code to generate the GINC small-scale in-context learning dataset from "An Explanation for In-context Learning as Implici…☆106Updated last year
- Sparse probing paper full code.☆58Updated last year
- This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Ca…☆61Updated 2 years ago
- A Kernel-Based View of Language Model Fine-Tuning https://arxiv.org/abs/2210.05643☆75Updated last year
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆60Updated 6 months ago
- ☆75Updated last year
- ☆44Updated last year
- ☆85Updated 10 months ago
- Augmenting Statistical Models with Natural Language Parameters☆27Updated 9 months ago
- Inspecting and Editing Knowledge Representations in Language Models☆116Updated last year
- ☆54Updated 2 years ago
- Code for "Tracing Knowledge in Language Models Back to the Training Data"☆38Updated 2 years ago
- Code for the paper "A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis"☆18Updated last week
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆46Updated last year
- ☆107Updated 3 years ago
- ☆51Updated last year
- A library for efficient patching and automatic circuit discovery.☆67Updated 2 months ago
- Exploring the Limitations of Large Language Models on Multi-Hop Queries☆25Updated 3 months ago
- ☆86Updated 2 years ago
- ☆34Updated last year
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆101Updated 2 years ago
- Teaching Models to Express Their Uncertainty in Words☆39Updated 3 years ago
- ☆51Updated last year
- Distributional Generalization in NLP. A roadmap.☆88Updated 2 years ago
- How do transformer LMs encode relations?☆48Updated last year
- ☆29Updated last year