Update README.md
Browse files
README.md
CHANGED
@@ -13,15 +13,16 @@ A French word2vec model trained on [frwiki](https://dumps.wikimedia.org/frwiki/)
|
|
13 |
lem: yes, pos: no, phrase: no, train: skip, dim: 1000, cutoff: 200
|
14 |
|
15 |
|
16 |
-
### How to use
|
17 |
|
18 |
```
|
19 |
from gensim.models import KeyedVectors
|
20 |
-
|
|
|
21 |
model.most_similar("intéressant_a")
|
22 |
```
|
23 |
|
24 |
-
Citation
|
25 |
```
|
26 |
@misc{fauconnier_2015,
|
27 |
author = {Fauconnier, Jean-Philippe},
|
|
|
13 |
lem: yes, pos: no, phrase: no, train: skip, dim: 1000, cutoff: 200
|
14 |
|
15 |
|
16 |
+
### How to use?
|
17 |
|
18 |
```
|
19 |
from gensim.models import KeyedVectors
|
20 |
+
from huggingface_hub import hf_hub_download
|
21 |
+
model = KeyedVectors.load_word2vec_format("Word2vec/fauconnier_frWiki_no_phrase_no_postag_1000_skip_cut200.bin", binary=True, unicode_errors="ignore")
|
22 |
model.most_similar("intéressant_a")
|
23 |
```
|
24 |
|
25 |
+
### Citation
|
26 |
```
|
27 |
@misc{fauconnier_2015,
|
28 |
author = {Fauconnier, Jean-Philippe},
|