eric-mitchell / mend
MEND: Fast Model Editing at Scale
☆242Updated last year
Alternatives and similar repositories for mend:
Users that are interested in mend are comparing it to the libraries listed below
- Code for Editing Factual Knowledge in Language Models☆136Updated 3 years ago
- An original implementation of "MetaICL Learning to Learn In Context" by Sewon Min, Mike Lewis, Luke Zettlemoyer and Hannaneh Hajishirzi☆259Updated last year
- contrastive decoding☆192Updated 2 years ago
- ☆173Updated 6 months ago
- A library for finding knowledge neurons in pretrained transformer models.☆154Updated 3 years ago
- Inspecting and Editing Knowledge Representations in Language Models☆112Updated last year
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆89Updated 3 years ago
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆271Updated 2 years ago
- ☆85Updated 2 years ago
- This is the oficial repository for "Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Prompts" (EMNLP 2022)☆100Updated 2 years ago
- Implementation of "The Power of Scale for Parameter-Efficient Prompt Tuning"☆164Updated 3 years ago
- Package to compute Mauve, a similarity score between neural text and human text. Install with `pip install mauve-text`.☆281Updated 7 months ago
- [NeurIPS'23] Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors☆71Updated last month
- ☆190Updated 11 months ago
- Simple next-token-prediction for RLHF☆222Updated last year
- ☆346Updated 3 years ago
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆97Updated last year
- Code for paper "CrossFit : A Few-shot Learning Challenge for Cross-task Generalization in NLP" (https://arxiv.org/abs/2104.08835)☆109Updated 2 years ago
- Semi-Parametric Editing with a Retrieval-Augmented Counterfactual Model☆66Updated 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
- ICML'2022: Black-Box Tuning for Language-Model-as-a-Service & EMNLP'2022: BBTv2: Towards a Gradient-Free Future with Large Language Model…☆265Updated 2 years ago
- ☆160Updated last year
- Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models☆138Updated 2 years ago
- ☆89Updated last year
- ☆124Updated last month
- ☆75Updated last year
- ☆77Updated 2 years ago
- Code for the ACL-2022 paper "Knowledge Neurons in Pretrained Transformers"☆163Updated 9 months ago
- ☆61Updated last year
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆443Updated last year