Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/npatta01/word2vec_demo


https://github.com/npatta01/word2vec_demo

Last synced: 14 days ago
JSON representation

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

```