Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/npatta01/word2vec_demo
https://github.com/npatta01/word2vec_demo
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/npatta01/word2vec_demo
- Owner: npatta01
- Created: 2018-04-13T08:38:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T15:12:14.000Z (over 6 years ago)
- Last Synced: 2024-12-07T07:04:32.373Z (18 days ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# About
This is a simple word2vec app.# Endpoints
/similar?positive=king,woman&negative=man
/alive# Build
Download model
```
export GCP_BILLING_PROJECT=np-tutorials
gsutil -u $GCP_BILLING_PROJECT cp gs://np-tutorials-public/models/word2vec/word2vec-slim/GoogleNews-vectors-negative300-SLIM.bin.gz .
gunzip GoogleNews-vectors-negative300-SLIM.bin.gz
``````
gcloud auth configure-docker
docker build -t w2vec .
```# Run
```
docker run --rm -p 80:5000 w2vec```
# Running own project
```
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
```
https://github.com/npatta01/word2vec_demo# App engine
```
gcloud app deploy```