mirror of
https://github.com/tiennm99/word2sim.git
synced 2026-05-19 11:26:34 +00:00
19 lines
468 B
YAML
19 lines
468 B
YAML
services:
|
|
word2sim:
|
|
build: .
|
|
container_name: word2sim
|
|
# uncomment to use this port
|
|
# ports:
|
|
# - "8000:8000"
|
|
environment:
|
|
MODEL_NAME: word2vec-google-news-300
|
|
volumes:
|
|
- gensim-cache:/data/gensim-cache
|
|
# mount a locally trained vectors.bin instead of downloading:
|
|
# - ./vectors.bin:/models/vectors.bin:ro
|
|
# and set MODEL_PATH: /models/vectors.bin above
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
gensim-cache:
|