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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neulab/knn-transformers Watchers