dkagramanyan
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -44,4 +44,13 @@ from huggingface_hub import hf_hub_download
|
|
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 |
```
|
|
|
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 |
+
```
|
48 |
+
|
49 |
+
3) Examples of usage
|
50 |
+
|
51 |
+
```
|
52 |
+
word = 'զենքեր'
|
53 |
+
print(model.get_nearest_neighbors(word))
|
54 |
+
print(model.get_sentence_vector(word))
|
55 |
+
|
56 |
```
|