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
- Inspecting and Editing Knowledge Representations in Language Models☆116Updated last year
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆93Updated 3 years ago
- This repository contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".☆88Updated 3 years ago
- Automatic metrics for GEM tasks☆66Updated 2 years ago
- ☆44Updated last year
- The official code of LM-Debugger, an interactive tool for inspection and intervention in transformer-based language models.☆177Updated 3 years ago
- 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
- Official code and model checkpoints for our EMNLP 2022 paper "RankGen - Improving Text Generation with Large Ranking Models" (https://arx…☆136Updated last year
- ☆62Updated 2 years ago
- MEND: Fast Model Editing at Scale☆245Updated last year
- ☆97Updated 2 years ago
- ☆135Updated 5 months ago
- ☆75Updated last year
- An original implementation of "MetaICL Learning to Learn In Context" by Sewon Min, Mike Lewis, Luke Zettlemoyer and Hannaneh Hajishirzi☆266Updated 2 years ago
- code associated with ACL 2021 DExperts paper☆115Updated 2 years ago
- ☆78Updated 2 years ago
- Interpreting Language Models with Contrastive Explanations (EMNLP 2022 Best Paper Honorable Mention)☆62Updated 3 years ago
- The official code of EMNLP 2022, "SCROLLS: Standardized CompaRison Over Long Language Sequences".☆70Updated last year
- DEMix Layers for Modular Language Modeling☆53Updated 3 years ago
- ☆48Updated last year
- Code for the paper "Implicit Representations of Meaning in Neural Language Models"☆54Updated 2 years ago
- A framework for few-shot evaluation of autoregressive language models.☆104Updated 2 years ago
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆274Updated 2 years ago
- Tk-Instruct is a Transformer model that is tuned to solve many NLP tasks by following instructions.☆180Updated 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
- contrastive decoding☆201Updated 2 years ago
- Official Code for the papers: "Controlled Text Generation as Continuous Optimization with Multiple Constraints" and "Gradient-based Const…☆62Updated last year
- Prompt tuning toolkit for GPT-2 and GPT-Neo☆88Updated 3 years ago