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 contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".☆86Updated 3 years ago
- This repository accompanies our paper “Do Prompt-Based Models Really Understand the Meaning of Their Prompts?”☆84Updated 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
- Code for Editing Factual Knowledge in Language Models☆135Updated 2 years ago
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆85Updated 3 years ago
- code associated with ACL 2021 DExperts paper☆113Updated last year
- Code for paper "CrossFit : A Few-shot Learning Challenge for Cross-task Generalization in NLP" (https://arxiv.org/abs/2104.08835)☆105Updated 2 years ago
- ☆42Updated 10 months ago
- ☆134Updated 2 years ago
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆271Updated 2 years ago
- Interpreting Language Models with Contrastive Explanations (EMNLP 2022 Best Paper Honorable Mention)☆58Updated 2 years ago
- Inspecting and Editing Knowledge Representations in Language Models☆108Updated last year
- Automatic metrics for GEM tasks☆61Updated 2 years ago
- ☆80Updated last year
- ☆74Updated last year
- ☆58Updated 2 years ago
- A framework for few-shot evaluation of autoregressive language models.☆102Updated last year
- Official Code for the papers: "Controlled Text Generation as Continuous Optimization with Multiple Constraints" and "Gradient-based Const…☆59Updated 8 months ago
- ☆80Updated 2 years ago
- MEND: Fast Model Editing at Scale☆235Updated last year
- ☆103Updated 2 years ago
- Tk-Instruct is a Transformer model that is tuned to solve many NLP tasks by following instructions.☆177Updated 2 years ago
- Neural models of common sense. 🤖☆94Updated last year
- ☆48Updated last year
- ☆95Updated 2 years ago
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆157Updated last year
- contrastive decoding☆181Updated 2 years ago
- DEMix Layers for Modular Language Modeling☆53Updated 3 years ago
- ☆68Updated 10 months ago
- Library for soft prompt tuning☆22Updated last year