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.
☆99Updated 4 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:
- ☆67Updated 2 years ago
- ☆103Updated 2 years ago
- A Kernel-Based View of Language Model Fine-Tuning https://arxiv.org/abs/2210.05643☆78Updated 2 years ago
- Inspecting and Editing Knowledge Representations in Language Models☆119Updated 2 years ago
- This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Ca…☆60Updated 2 years ago
- Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".☆80Updated last year
- ☆95Updated last year
- ☆88Updated 3 years ago
- ☆113Updated 3 years ago
- ☆177Updated last year
- ☆39Updated last year
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆47Updated 2 years ago
- Code for the paper "A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis"☆19Updated 6 months ago
- Repo for the paper "Large Language Models Struggle to Learn Long-Tail Knowledge"☆78Updated 2 years ago
- Code for "Tracing Knowledge in Language Models Back to the Training Data"☆39Updated 2 years ago
- Augmenting Statistical Models with Natural Language Parameters☆29Updated last year
- ☆55Updated last year
- Code for ACL 2023 paper "BOLT: Fast Energy-based Controlled Text Generation with Tunable Biases".☆21Updated 2 years ago
- ☆44Updated last year
- ☆47Updated last year
- ☆75Updated 2 years ago
- Function Vectors in Large Language Models (ICLR 2024)☆188Updated 8 months ago
- Exploring the Limitations of Large Language Models on Multi-Hop Queries☆29Updated 9 months ago
- [ACL'24 Oral] Analysing The Impact of Sequence Composition on Language Model Pre-Training☆23Updated last year
- A library for finding knowledge neurons in pretrained transformer models.☆158Updated 3 years ago
- Grade-School Math with Irrelevant Context (GSM-IC) benchmark is an arithmetic reasoning dataset built upon GSM8K, by adding irrelevant se…☆65Updated 2 years ago
- Teaching Models to Express Their Uncertainty in Words☆39Updated 3 years ago
- Evaluate interpretability methods on localizing and disentangling concepts in LLMs.☆57Updated last month
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆102Updated 2 years ago
- Official Code for the papers: "Controlled Text Generation as Continuous Optimization with Multiple Constraints" and "Gradient-based Const…☆65Updated last year