Coder Social home page Coder Social logo

ddangelov / restful-top2vec Goto Github PK

View Code? Open in Web Editor NEW
84.0 4.0 20.0 249 KB

Expose a Top2Vec model with a REST API.

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 2.58% Python 97.42%
rest-api top2vec semantic-search semantic-search-engine topic-modeling document-embedding word-embedding text-search text-similarity fastapi restful-api topic-model

restful-top2vec's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.