neulab / knn-transformersLinks
PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an implementation of kNN-LM and kNN-MT
☆286Updated 3 years ago
Alternatives and similar repositories for knn-transformers
Users that are interested in knn-transformers are comparing it to the libraries listed below
Sorting:
- ☆329Updated 4 years ago
- code associated with ACL 2021 DExperts paper☆118Updated 2 years ago
- Code for Editing Factual Knowledge in Language Models☆142Updated 4 years ago
- [EMNLP 2022] Training Language Models with Memory Augmentation https://arxiv.org/abs/2205.12674☆195Updated 2 years ago
- Train Dense Passage Retriever (DPR) with a single GPU☆136Updated 4 years ago
- Tk-Instruct is a Transformer model that is tuned to solve many NLP tasks by following instructions.☆183Updated 3 years ago
- ☆187Updated 7 months ago
- ☆83Updated 2 years ago
- ☆146Updated last year
- Automatic metrics for GEM tasks☆67Updated 3 years ago
- Code for paper "CrossFit : A Few-shot Learning Challenge for Cross-task Generalization in NLP" (https://arxiv.org/abs/2104.08835)☆113Updated 3 years ago
- ☆48Updated 2 years ago
- This repository accompanies our paper “Do Prompt-Based Models Really Understand the Meaning of Their Prompts?”☆85Updated 3 years ago
- The LM Contamination Index is a manually created database of contamination evidences for LMs.☆82Updated last year
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆158Updated 3 years ago
- ☆75Updated 2 years ago
- Detect hallucinated tokens for conditional sequence generation.☆64Updated 3 years ago
- Code and models for the paper "Questions Are All You Need to Train a Dense Passage Retriever (TACL 2023)"☆62Updated 3 years ago
- The official code of EMNLP 2022, "SCROLLS: Standardized CompaRison Over Long Language Sequences".☆69Updated 2 years ago
- MEND: Fast Model Editing at Scale☆258Updated 2 years ago
- A library for finding knowledge neurons in pretrained transformer models.☆159Updated 4 years ago
- ☆89Updated 3 years ago
- ☆84Updated this week
- Scalable training for dense retrieval models.☆298Updated 8 months ago
- ☆177Updated last year
- This repository contains the code for "Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP".☆89Updated 4 years ago
- ☆44Updated 2 years ago
- ☆101Updated 3 years ago
- An original implementation of "MetaICL Learning to Learn In Context" by Sewon Min, Mike Lewis, Luke Zettlemoyer and Hannaneh Hajishirzi☆273Updated 2 years ago
- Code for the paper Code for the paper InstructDial: Improving Zero and Few-shot Generalization in Dialogue through Instruction Tuning☆100Updated 2 years ago