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
272Updated 2 years ago

Alternatives and similar repositories for knn-transformers:

Users that are interested in knn-transformers are comparing it to the libraries listed below