Update README.md
Browse files
README.md
CHANGED
@@ -5,6 +5,7 @@ datasets:
|
|
5 |
- procesaur/Vikizvornik
|
6 |
- procesaur/ZNANJE
|
7 |
- jerteh/SrpELTeC
|
|
|
8 |
language:
|
9 |
- sr
|
10 |
---
|
@@ -17,11 +18,11 @@ language:
|
|
17 |
</tr>
|
18 |
<tr style="width:100%;height:100%">
|
19 |
<td width=50%>
|
20 |
-
<p
|
21 |
-
<p
|
22 |
</td>
|
23 |
<td>
|
24 |
-
<p>
|
25 |
<p>There are two models among the files (CBOW and SkipGram variants)</p>
|
26 |
</td>
|
27 |
</tr>
|
@@ -31,11 +32,23 @@ language:
|
|
31 |
```python
|
32 |
from gensim.models import Word2Vec
|
33 |
model = Word2Vec.load("TeslaW2V")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
```
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
<div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
|
41 |
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
|
|
|
5 |
- procesaur/Vikizvornik
|
6 |
- procesaur/ZNANJE
|
7 |
- jerteh/SrpELTeC
|
8 |
+
- procesaur/kisobran
|
9 |
language:
|
10 |
- sr
|
11 |
---
|
|
|
18 |
</tr>
|
19 |
<tr style="width:100%;height:100%">
|
20 |
<td width=50%>
|
21 |
+
<p>Обучаван над корпусом српског језика - 9.5 милијарди речи</p>
|
22 |
+
<p>Међу датотекама се налазе два модела (CBOW и SkipGram варијанте)</p>
|
23 |
</td>
|
24 |
<td>
|
25 |
+
<p>Trained on the Serbian language corpus - 9.5 billion words</p>
|
26 |
<p>There are two models among the files (CBOW and SkipGram variants)</p>
|
27 |
</td>
|
28 |
</tr>
|
|
|
32 |
```python
|
33 |
from gensim.models import Word2Vec
|
34 |
model = Word2Vec.load("TeslaW2V")
|
35 |
+
examples = [
|
36 |
+
("dim", "zavesa"),
|
37 |
+
("staklo", "zavesa"),
|
38 |
+
("ormar", "zavesa"),
|
39 |
+
("prozor", "zavesa"),
|
40 |
+
("draperija", "zavesa")
|
41 |
+
]
|
42 |
+
for e in examples:
|
43 |
+
model.wv.similarity(e[0], e[1]))
|
44 |
+
```
|
45 |
+
```
|
46 |
+
0.5193785
|
47 |
+
0.5763144
|
48 |
+
0.59982747
|
49 |
+
0.6022524
|
50 |
+
0.7117646
|
51 |
```
|
|
|
|
|
|
|
|
|
52 |
|
53 |
<div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
|
54 |
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
|