EleutherAI / knowledge-neuronsLinks
A library for finding knowledge neurons in pretrained transformer models.
☆158Updated 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
Sorting:
- This repository accompanies our paper “Do Prompt-Based Models Really Understand the Meaning of Their Prompts?”☆85Updated 3 years ago
- Code for Editing Factual Knowledge in Language Models☆138Updated 3 years ago
- MEND: Fast Model Editing at Scale☆247Updated last year
- Code for paper "CrossFit : A Few-shot Learning Challenge for Cross-task Generalization in NLP" (https://arxiv.org/abs/2104.08835)☆111Updated 3 years ago
- Automatic metrics for GEM tasks☆66Updated 2 years ago
- ☆45Updated last year
- This repository contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".☆88Updated 3 years ago
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆94Updated 3 years ago
- Interpreting Language Models with Contrastive Explanations (EMNLP 2022 Best Paper Honorable Mention)☆62Updated 3 years ago
- code associated with ACL 2021 DExperts paper☆115Updated 2 years ago
- ☆61Updated 2 years ago
- Tk-Instruct is a Transformer model that is tuned to solve many NLP tasks by following instructions.☆180Updated 2 years ago
- Official code and model checkpoints for our EMNLP 2022 paper "RankGen - Improving Text Generation with Large Ranking Models" (https://arx…☆135Updated last year
- ☆75Updated last year
- Inspecting and Editing Knowledge Representations in Language Models☆116Updated last year
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆275Updated 2 years ago
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆157Updated 2 years ago
- The official code of LM-Debugger, an interactive tool for inspection and intervention in transformer-based language models.☆177Updated 3 years ago
- ☆108Updated 3 years ago
- ☆137Updated 5 months ago
- Language modeling via stochastic processes. Oral @ ICLR 2022.☆138Updated 2 years ago
- ☆97Updated 2 years ago
- DEMix Layers for Modular Language Modeling☆53Updated 3 years ago
- ☆58Updated 3 years ago
- ☆78Updated 2 years ago
- An original implementation of "MetaICL Learning to Learn In Context" by Sewon Min, Mike Lewis, Luke Zettlemoyer and Hannaneh Hajishirzi☆269Updated 2 years ago
- contrastive decoding☆202Updated 2 years ago
- ☆35Updated 3 years ago
- ☆48Updated last year
- ☆141Updated 2 years ago