knn-mt
There are 2 repositories under knn-mt topic.
neulab/knn-transformers
PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an implementation of kNN-LM and kNN-MT
NJUNLP/knn-box
an easy-to-use knn-mt toolkit