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
- Inspecting and Editing Knowledge Representations in Language Models☆112Updated last year
- ☆47Updated 10 months ago
- This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Ca…☆58Updated last year
- ☆61Updated last year
- ☆89Updated last year
- The official code of EMNLP 2022, "SCROLLS: Standardized CompaRison Over Long Language Sequences".☆69Updated last year
- ☆105Updated 2 years ago
- ☆44Updated last year
- ☆76Updated 6 months ago
- ☆75Updated last year
- A Kernel-Based View of Language Model Fine-Tuning https://arxiv.org/abs/2210.05643☆74Updated last year
- A library for efficient patching and automatic circuit discovery.☆53Updated 2 months ago
- [NAACL'25] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆44Updated 2 months ago
- ☆85Updated 2 years ago
- ☆46Updated last year
- Code for "Tracing Knowledge in Language Models Back to the Training Data"☆37Updated 2 years ago
- Exploring the Limitations of Large Language Models on Multi-Hop Queries☆21Updated 7 months ago
- Github repository for "FELM: Benchmarking Factuality Evaluation of Large Language Models" (NeurIPS 2023)☆57Updated last year
- Augmenting Statistical Models with Natural Language Parameters☆22Updated 4 months ago
- ☆52Updated last year
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆43Updated last year
- A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity.☆62Updated 3 months 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
- DEMix Layers for Modular Language Modeling☆53Updated 3 years ago
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆97Updated last year
- Repo for the paper "Large Language Models Struggle to Learn Long-Tail Knowledge"☆74Updated last year
- ☆44Updated 5 months ago
- A curated list of awesome resources dedicated to Scaling Laws for LLMs☆69Updated last year
- [ACL'24 Oral] Analysing The Impact of Sequence Composition on Language Model Pre-Training☆19Updated 5 months ago
- ☆85Updated last year