knn-lm topic
List
knn-lm repositories
knn-transformers
263
Stars
23
Forks
Watchers
PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an implementation of kNN-LM and kNN-MT