knn-transformers

knn-transformers

neulab

PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an implementation of kNN-LM and kNN-MT

276 Stars
25 Forks
276 Watchers
Python Language
mit License
Cost to Build
$72.7K
Market Value
$215.9K

Growth over time

5 data points  ·  2022-07-01 → 2025-08-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about knn-transformers

Question copied to clipboard

What is the neulab/knn-transformers GitHub project? Description: "PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an implementation of kNN-LM and kNN-MT". Written in Python. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone knn-transformers

Clone via HTTPS

git clone https://github.com/neulab/knn-transformers.git

Clone via SSH

[email protected]:neulab/knn-transformers.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the knn-transformers issue tracker:

Open GitHub Issues