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

by NeuLab Python MIT licence 23 forks Created Jul 2022 View on GitHub

Stars
287
4% of neulab's stars
Rank
#204,774
of 852,204 repos, top 25%
In Python
#39,215
of 173,304 repos, top 23%

Among 852,204 repos

Compare with

250–400 stars: 77,420 repos, including knn-transformers

Stars along the bottom, and repos in each band on a log scale

Quick stats

Next rank
+1 star to reach #204,174
Next milestone
+69 stars to reach the top 20%
Popular
One of 490,852 repos with 100+ stars
Yearly average
66 stars a year since Jul 2022

Stars counted Recounted daily Next count around