Easy-to-understand implementation of k-NN language models

Follow the full discussion on Reddit.
Coded an implementation of paper Generalization through Memorization: Nearest Neighbor Language Models by Facebook. This paper achieves #2 best SOTA results on WikiText-103 with a much smaller model size compared to #1. It also shows good domain transfer results.

Comments

There's unfortunately not much to read here yet...

Discover the Best of Machine Learning.

Ever having issues keeping up with everything that's going on in Machine Learning? That's where we help. We're sending out a weekly digest, highlighting the Best of Machine Learning.

Join over 900 Machine Learning Engineers receiving our weekly digest.

Best of Machine LearningBest of Machine Learning

Discover the best guides, books, papers and news in Machine Learning, once per week.

Twitter