Home

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:

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