dkagramanyan
commited on
Commit
•
d200a92
1
Parent(s):
e2e7cba
Update README.md
Browse files
README.md
CHANGED
@@ -39,9 +39,9 @@ pip install fasttext-wheel
|
|
39 |
|
40 |
```
|
41 |
import fasttext
|
|
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
model.get_nearest_neighbors('զենքեր')
|
46 |
|
47 |
```
|
|
|
39 |
|
40 |
```
|
41 |
import fasttext
|
42 |
+
from huggingface_hub import hf_hub_download
|
43 |
|
44 |
+
model_path = hf_hub_download(repo_id="armvectores/wikipedia_arlis_tokens_fasttextskipgram_300_5", filename="model.bin")
|
45 |
+
model = fasttext.load_model(model_path)
|
|
|
46 |
|
47 |
```
|