In-memory HTTP service for https://github.com/DimaKudosh/word2vec
This repository uses an experimental fork of DimaKudosh/word2vec with SIMD extensions.
Please make sure to set the rust toolchain to nightly first! Then run
git clone https://github.com/jayay/word2vec-api.git
cd word2vec-api
cargo run --release -- path/to/model.bin
The binary listens on port 8000, which will have to be forwarded. The first argument to the binary is the path to the model.
docker run -it -v /path/to/model.bin:/data/model.bin -p 8000:8000 ghcr.io/jayay/word2vec-api:master word2vec-api /data/model.bin