The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. EMNLP, 2021.
☆103Sep 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
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Locating and editing factual associations in GPT (NeurIPS 2022)☆770Apr 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☆604Aug 7, 2025Updated 11 months ago
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆556Jan 31, 2024Updated 2 years ago
- Mechanistic Interpretability for Transformer Models☆53Jun 1, 2022Updated 4 years ago
- Redwood Research's transformer interpretability tools☆15Apr 15, 2022Updated 4 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Code and test data for "On Measuring Bias in Sentence Encoders", to appear at NAACL 2019.☆57May 23, 2021Updated 5 years ago
- ☆18Jun 19, 2023Updated 3 years ago
- ☆293Oct 1, 2024Updated last year
- 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
- ☆44Nov 17, 2024Updated last year
- ☆48Jan 21, 2024Updated 2 years ago
- ☆148Aug 4, 2024Updated last year
- PAIR.withgoogle.com and friend's work on interpretability methods☆234Jun 22, 2026Updated 3 weeks ago
- ☆287Mar 2, 2024Updated 2 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Sparse probing paper full code.☆68Dec 17, 2023Updated 2 years ago
- [ICLR 2022] Code for paper "Exploring Extreme Parameter Compression for Pre-trained Language Models"(https://arxiv.org/abs/2205.10036)☆23May 24, 2023Updated 3 years ago
- ☆11Dec 23, 2021Updated 4 years ago
- Codebase the paper "The Remarkable Robustness of LLMs: Stages of Inference?"☆20Jun 11, 2025Updated last year
- Embedding Recycling for Language models☆38Jul 11, 2023Updated 3 years ago
- ☆16Jan 31, 2023Updated 3 years ago
- 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
- ☆13Dec 11, 2020Updated 5 years ago
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆79Jun 23, 2025Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- About The corresponding code from our paper " REFINER: Reasoning Feedback on Intermediate Representations" (EACL 2024). Do not hesitate t…☆76Jan 27, 2026Updated 5 months ago
- This package implements THOR: Transformer with Stochastic Experts.