The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. EMNLP, 2021.
☆104Sep 5, 2021Updated 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ☆67May 18, 2023Updated 3 years ago
- Code for the ACL-2022 paper "Knowledge Neurons in Pretrained Transformers"☆177May 4, 2024Updated 2 years ago
- ☆58Jun 15, 2023Updated 3 years ago
- ☆16Jul 10, 2023Updated 3 years ago
- The official code of LM-Debugger, an interactive tool for inspection and intervention in transformer-based language models.☆186May 13, 2022Updated 4 years ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Locating and editing factual associations in GPT (NeurIPS 2022)☆772Apr 20, 2024Updated 2 years ago
- This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Ca…☆62May 9, 2023Updated 3 years ago
- ☆14Apr 27, 2022Updated 4 years ago
- ☆29Apr 30, 2024Updated 2 years ago
- ☆16May 14, 2024Updated 2 years ago
- Tools for understanding how transformer predictions are built layer-by-layer☆608Aug 7, 2025Updated last year
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆557Jan 31, 2024Updated 2 years ago
- Dataset for Unified Editing, EMNLP 2023. This is a model editing dataset where edits are natural language phrases.☆24Sep 4, 2024Updated last year
- Mechanistic Interpretability for Transformer Models☆53Jun 1, 2022Updated 4 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Redwood Research's transformer interpretability tools☆15Apr 15, 2022Updated 4 years ago
- ☆293Oct 1, 2024Updated last year
- Code and test data for "On Measuring Bias in Sentence Encoders", to appear at NAACL 2019.☆57May 23, 2021Updated 5 years ago
- This repository contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".☆89Aug 20, 2021Updated 4 years ago
- MishformerLens intends to be a drop-in replacement for TransformerLens that AST patches HuggingFace Transformers rather than implementing…☆10Oct 7, 2024Updated last year
- ☆44Nov 17, 2024Updated last year
- ☆149Aug 4, 2024Updated 2 years ago
- ☆49Jan 21, 2024Updated 2 years ago
- PAIR.withgoogle.com and friend's work on interpretability methods☆234Jun 22, 2026Updated last month
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Sparse probing paper full code.☆68Dec 17, 2023Updated 2 years ago
- ☆288Mar 2, 2024Updated 2 years ago
- [ICLR 2022] Code for paper "Exploring Extreme Parameter Compression for Pre-trained Language Models"(https://arxiv.org/abs/2205.10036)☆22May 24, 2023Updated 3 years ago
- ☆11Dec 23, 2021Updated 4 years ago
- ☆18Jun 19, 2023Updated 3 years ago
- ☆14Feb 24, 2025Updated last year
- [ACL 2024] Unveiling Linguistic Regions in Large Language Models☆34Jun 9, 2024Updated 2 years ago
- Embedding Recycling for Language models☆38Jul 11, 2023Updated 3 years ago
- ☆17Jan 31, 2023Updated 3 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Data and code for APPDIA: A Discourse-aware Transformer-based Style Transfer Model for Offensive Social Media Conversations (COLING 2022)…☆13Sep 8, 2022Updated 3 years ago
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆79Jun 23, 2025Updated last year
- ☆13Dec 11, 2020Updated 5 years ago
- ☆15Jan 20, 2026Updated 6 months ago
- This package implements THOR: Transformer with Stochastic Experts.☆64Oct 7, 2021Updated 4 years ago
- Official codebase accompanying our ACL 2022 paper "RELiC: Retrieving Evidence for Literary Claims" (https://relic.cs.umass.edu).☆20May 14, 2022Updated 4 years ago
- ☆34Aug 5, 2023Updated 3 years ago