-
I am trying to build on your knn-transfomers [repo](https://github.com/neulab/knn-transformers/tree/master?tab=readme-ov-file).
When I run the distill gpt with the given setup in the repo but with …
-
# Summary
If `faiss` is `import`ed before `torch` - the returned KNNs from a GPU index are very bad. If we switch the order of imports, the returned KNNs are **much** more accurate.
# Platform
…
-
Hi,
The plugin working almost perfect and stable. But there is an issue about Wireless button. The button shown on homekit but does not show any actions(single press, long press, double press etc) …
-
# :wave: Bienvenido a "Introducción a GitHub" de GitHub Learning Lab
Para empezar, te guiaré a través de unos primeros pasos que son importantes para programar y colaborar en GitHub.
:point_down: …
-
# 🌟 Adding the kNN-LM and kNN-MT models
## Model description
The kNN [Language Model](https://arxiv.org/pdf/1911.00172.pdf) and [Machine Translation](https://arxiv.org/pdf/2010.00710.pdf) levera…
-
Hi, can I ask a question regarding the evaluating kNN-LM and RetoMaton? I used the preprocessed Wikitext-103 datastores and FAISS index from gpt-2 and distilgpt-2(downloading form the link) and encoun…
-
[saving-a-datastore-for-knn-mt](https://github.com/neulab/knn-transformers#saving-a-datastore-for-knn-mt) section in README is missing a proper `dstore_size` parameter.
# to add
` --dstore_size 26…
-
Hi @urialon ,
Thank you very much for releasing the source code which applies kNN for the Machine Translation task. However, only pre-trained models available on the Huggingface hub seem valid.
R…
-
Hi, I am reading the code. In `knnlm.py`, there is a line (https://github.com/jxhe/efficient-knnlm/blob/main/fairseq/knnlm.py#L267):
```
index_mask = torch.eq(torch.from_numpy(self.vals[knns]).lon…
-
Hi, I am reading the source code. In `knnlm.py`, there is a line (https://github.com/urvashik/knnlm/blob/master/fairseq/knnlm.py#L107):
```
index_mask = torch.eq(torch.from_numpy(self.vals[knns]).lo…