esfiles / docker-compose.yml
Besjon Cifliku
feat: implement anomaly detection to filter suspicious word relations
9c3ade2
raw
history blame contribute delete
600 Bytes
services:
app:
build: .
ports:
- "8000:8000"
volumes:
# Persist HuggingFace model cache between restarts
- hf-cache:/data/huggingface
# Persist the GloVe background model (anomaly detection) so it's not re-downloaded
- gensim-cache:/data/gensim-data
# Persist engine state, Word2Vec state, and trained models
- engine-state:/data/engine_state
- w2v-state:/data/w2v_state
- ./trained_model:/data/trained_model
environment:
- HOST=0.0.0.0
- PORT=8000
volumes:
hf-cache:
gensim-cache:
engine-state:
w2v-state: