Awesome
Top2Vec Model REST API
Expose a trained and saved Top2Vec model with a REST API.
Get Docker Image
docker pull ddangelov/restful-top2vec
Run Container
Docker Run Arguments:
model_path
: Path to a saved Top2Vec model.model_name
: Name of Top2Vec model. (Should not contain spaces.)
export model_path="/path_to_top2vec_model"
export model_name="model_name"
docker run -v $model_path:/app/top2vec_model -e model_name=$model_name -d --name $model_name -p 80:80 ddangelov/restful-top2vec
Documentation
Go to http://localhost:80/docs