Update README.md
Browse files
README.md
CHANGED
|
@@ -15,7 +15,7 @@ Pretrained Word2vec in Russian. For more information, see [https://wikipedia2vec
|
|
| 15 |
```
|
| 16 |
from gensim.models import KeyedVectors
|
| 17 |
from huggingface_hub import hf_hub_download
|
| 18 |
-
model = KeyedVectors.load_word2vec_format(hf_hub_download(repo_id="Word2vec/
|
| 19 |
model.most_similar("your_word")
|
| 20 |
```
|
| 21 |
|
|
|
|
| 15 |
```
|
| 16 |
from gensim.models import KeyedVectors
|
| 17 |
from huggingface_hub import hf_hub_download
|
| 18 |
+
model = KeyedVectors.load_word2vec_format(hf_hub_download(repo_id="Word2vec/wikipedia2vec_ruwiki_20180420_300d", filename="ruwiki_20180420_300d.txt"))
|
| 19 |
model.most_similar("your_word")
|
| 20 |
```
|
| 21 |
|