Skip to content
Snippets Groups Projects
Commit 7e5143c6 authored by Brünner, Benedikt's avatar Brünner, Benedikt
Browse files

Local Example

parent 29a1fd04
No related branches found
No related tags found
No related merge requests found
......@@ -11,3 +11,16 @@ There is currently a bug in the Gensim module. To fix it, an older version of sc
pip install scipy==1.12
pip install gensim
```
## Run Examples Locally
`python3`
```
import gensim.downloader as api
dataset = api.load('glove-wiki-gigaword-300')
dataset.most_similar_cosmul(positive=["warm", "winter"], negative=["summer"])
dataset.most_similar_cosmul(positive=["boat", "road"], negative=["sea"])
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment