EleutherAI / knowledge-neurons
A library for finding knowledge neurons in pretrained transformer models.
☆151Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for knowledge-neurons
- This repository accompanies our paper “Do Prompt-Based Models Really Understand the Meaning of Their Prompts?”☆84Updated 2 years ago
- ☆42Updated 9 months ago
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆84Updated 3 years ago
- Code for Editing Factual Knowledge in Language Models☆135Updated 2 years ago
- Inspecting and Editing Knowledge Representations in Language Models☆107Updated last year
- ☆134Updated 2 years ago
- MEND: Fast Model Editing at Scale☆234Updated last year
- This repository contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".☆86Updated 3 years ago
- ☆58Updated last year
- contrastive decoding☆178Updated last year
- code associated with ACL 2021 DExperts paper☆113Updated last year
- EMNLP 2022: Generating Natural Language Proofs with Verifier-Guided Search https://arxiv.org/abs/2205.12443☆81Updated last month
- Code for paper "CrossFit : A Few-shot Learning Challenge for Cross-task Generalization in NLP" (https://arxiv.org/abs/2104.08835)☆104Updated 2 years ago
- Official code and model checkpoints for our EMNLP 2022 paper "RankGen - Improving Text Generation with Large Ranking Models" (https://arx…☆136Updated last year
- A unified benchmark for math reasoning☆87Updated last year
- ☆120Updated 2 months ago
- Interpreting Language Models with Contrastive Explanations (EMNLP 2022 Best Paper Honorable Mention)☆58Updated 2 years ago
- ☆167Updated 3 months ago
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆156Updated last year
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆269Updated 2 years ago
- ☆57Updated 2 years ago
- ☆74Updated last year
- ☆104Updated 2 years ago
- PyTorch code for the RetoMaton paper: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022)☆71Updated 2 years ago
- Language modeling via stochastic processes. Oral @ ICLR 2022.☆136Updated last year
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆92Updated last year
- ☆78Updated last year
- Automatic metrics for GEM tasks☆61Updated 2 years ago
- How do transformer LMs encode relations?☆37Updated 8 months ago
- A framework for few-shot evaluation of autoregressive language models.☆101Updated last year