NJUNLP / knn-box
an easy-to-use knn-mt toolkit
☆104Updated last year
Alternatives and similar repositories for knn-box:
Users that are interested in knn-box are comparing it to the libraries listed below
- A retrieval augmented sequence modeling toolkit implemented based on Fairseq☆29Updated 2 years ago
- ☆84Updated 2 years ago
- Code for our ACL2021 paper Neural Machine Translation with Monolingual Translation Memory☆81Updated last year
- ☆44Updated 3 years ago
- Code for paper "Nearest Neighbor Knowledge Distillation for Neural Machine Translation" by Zhixian Yang, Renliang Sun, and Xiaojun Wan. T…☆30Updated 2 years ago
- This is the official code for our paper "Simple and Scalable Nearest Neighbor Machine Translation" (ICLR 2023).☆14Updated last year
- ☆35Updated last year
- ☆14Updated last year
- ☆72Updated 3 months ago
- Easy-to-use framework for evaluating cross-lingual consistency of factual knowledge (Supported LLaMA, BLOOM, mT5, RoBERTa, etc.) Paper he…☆23Updated last month
- [ACL 2023] kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine Translation☆16Updated last year
- ☆42Updated last year
- ☆23Updated 2 years ago
- [NeurIPS'22 Spotlight] Data and code for our paper CoNT: Contrastive Neural Text Generation☆152Updated last year
- [ACL 2022] Bridging the Data Gap between Training and Inference for Unsupervised Neural Machine Translation☆31Updated last year
- Source codes of ACL 2022-Efficient Cluster-based k-Nearest-Neighbor Machine Translation☆26Updated 2 years ago
- Official codebase for “In-Context Learning with Many Demonstration Examples”☆16Updated 2 years ago
- code for Teaching LM to Translate with Comparison☆39Updated last year
- Code and data accompanying our ACL 2020 paper, "Unsupervised Domain Clusters in Pretrained Language Models".☆58Updated 4 years ago
- ACL'23: Unified Demonstration Retriever for In-Context Learning☆37Updated last year
- ☆15Updated 2 years ago
- ☆29Updated 2 years ago
- Code base for "Target-Side Augmentation for Document-Level Machine Translation"☆15Updated last year
- ☆33Updated 3 years ago
- Repository for Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learning☆162Updated last year
- The implement of ACL2024: "MAPO: Advancing Multilingual Reasoning through Multilingual Alignment-as-Preference Optimization"☆42Updated 10 months ago
- This is a code repository for the ACL 2022 paper "Learning to Generalize to More: Continuous Semantic Augmentation for Neural Machine Tra…☆52Updated 2 years ago
- Github repository for "FELM: Benchmarking Factuality Evaluation of Large Language Models" (NeurIPS 2023)☆58Updated last year
- Code for "Towards Robust k-Nearest-Neighbor Machine Translation" (EMNLP 2022)☆12Updated 2 years ago
- Tools for formatting WMT hypothesis and test sets in XML☆25Updated last week