EleutherAI / knowledge-neurons
A library for finding knowledge neurons in pretrained transformer models.
☆154Updated 3 years ago
Alternatives and similar repositories for knowledge-neurons:
Users that are interested in knowledge-neurons are comparing it to the libraries listed below
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆89Updated 3 years ago
- This repository contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".☆87Updated 3 years ago
- code associated with ACL 2021 DExperts paper☆113Updated last year
- Code for Editing Factual Knowledge in Language Models☆136Updated 3 years ago
- This repository accompanies our paper “Do Prompt-Based Models Really Understand the Meaning of Their Prompts?”☆85Updated 2 years ago
- ☆61Updated last year
- ☆44Updated last year
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆157Updated 2 years ago
- A framework for few-shot evaluation of autoregressive language models.☆102Updated last year
- Interpreting Language Models with Contrastive Explanations (EMNLP 2022 Best Paper Honorable Mention)☆62Updated 2 years ago
- MEND: Fast Model Editing at Scale☆242Updated last year
- Automatic metrics for GEM tasks☆64Updated 2 years ago
- ☆124Updated last month
- Inspecting and Editing Knowledge Representations in Language Models☆112Updated last year
- Official code and model checkpoints for our EMNLP 2022 paper "RankGen - Improving Text Generation with Large Ranking Models" (https://arx…☆136Updated last year
- ☆137Updated 2 years ago
- Code for paper "CrossFit : A Few-shot Learning Challenge for Cross-task Generalization in NLP" (https://arxiv.org/abs/2104.08835)☆109Updated 2 years ago
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆271Updated 2 years ago
- ☆77Updated 2 years ago
- DEMix Layers for Modular Language Modeling☆53Updated 3 years ago
- An original implementation of "MetaICL Learning to Learn In Context" by Sewon Min, Mike Lewis, Luke Zettlemoyer and Hannaneh Hajishirzi☆259Updated last year
- contrastive decoding☆192Updated 2 years ago
- A unified benchmark for math reasoning☆87Updated 2 years ago
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆97Updated last year
- ☆85Updated 2 years ago
- ☆82Updated last year
- ☆75Updated last year
- ☆58Updated 2 years ago
- ☆45Updated last year
- EMNLP 2022: Generating Natural Language Proofs with Verifier-Guided Search https://arxiv.org/abs/2205.12443☆83Updated 5 months ago