EleutherAI / knowledge-neurons
A library for finding knowledge neurons in pretrained transformer models.
☆155Updated 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
- 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
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆90Updated 3 years ago
- ☆61Updated last year
- 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☆114Updated last year
- ☆128Updated 2 months ago
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆157Updated 2 years ago
- Automatic metrics for GEM tasks☆65Updated 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 2 years ago
- Tk-Instruct is a Transformer model that is tuned to solve many NLP tasks by following instructions.☆179Updated 2 years ago
- A framework for few-shot evaluation of autoregressive language models.☆103Updated last year
- The official code of EMNLP 2022, "SCROLLS: Standardized CompaRison Over Long Language Sequences".☆69Updated last year
- Code for paper "CrossFit : A Few-shot Learning Challenge for Cross-task Generalization in NLP" (https://arxiv.org/abs/2104.08835)☆110Updated 2 years ago
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆270Updated 2 years ago
- DEMix Layers for Modular Language Modeling☆53Updated 3 years ago
- MEND: Fast Model Editing at Scale☆242Updated last year
- Utilities for the HuggingFace transformers library☆66Updated 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
- Interpreting Language Models with Contrastive Explanations (EMNLP 2022 Best Paper Honorable Mention)☆62Updated 2 years ago
- ☆58Updated 2 years ago
- ☆318Updated 3 years ago
- ☆75Updated last year
- ☆137Updated 2 years ago
- Codebase, data and models for the SummaC paper in TACL☆89Updated last month
- Prompt tuning toolkit for GPT-2 and GPT-Neo☆88Updated 3 years ago
- Inspecting and Editing Knowledge Representations in Language Models☆112Updated last year
- Faithfulness and factuality annotations of XSum summaries from our paper "On Faithfulness and Factuality in Abstractive Summarization" (h…☆81Updated 4 years ago
- ☆82Updated 2 years ago