Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- word2vec
|
4 |
+
language: fr
|
5 |
+
license: cc-by-3.0
|
6 |
+
---
|
7 |
+
|
8 |
+
### Description
|
9 |
+
|
10 |
+
A French word2vec model trained on [FrWac](https://wacky.sslmit.unibo.it/doku.php?id=corpora) by Fauconnier with the following hyperparameters:
|
11 |
+
lem: yes, pos: no, phrase: no, train: skip, dim: 500, cutoff: 100
|
12 |
+
|
13 |
+
|
14 |
+
### How to use?
|
15 |
+
|
16 |
+
```
|
17 |
+
from gensim.models import KeyedVectors
|
18 |
+
from huggingface_hub import hf_hub_download
|
19 |
+
model = KeyedVectors.load_word2vec_format("Word2vec/fauconnier_frWiki_no_phrase_no_postag_1000_skip_cut200.bin", binary=True, unicode_errors="ignore")
|
20 |
+
model.most_similar("intéressant_a")
|
21 |
+
```
|
22 |
+
|
23 |
+
### Citation
|
24 |
+
```
|
25 |
+
@misc{fauconnier_2015,
|
26 |
+
author = {Fauconnier, Jean-Philippe},
|
27 |
+
title = {French Word Embeddings},
|
28 |
+
url = {http://fauconnier.github.io},
|
29 |
+
year = {2015}}
|
30 |
+
```
|