Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Model_server | 565 | 6 days ago | 2 | March 25, 2022 | 26 | apache-2.0 | C++ | |||
A scalable inference server for models optimized with OpenVINO™ | ||||||||||
Flama | 228 | 12 days ago | 8 | apache-2.0 | Python | |||||
Fire up your models with the flame 🔥 | ||||||||||
Deploy Bert For Sentiment Analysis With Fastapi | 129 | 6 months ago | 6 | mit | Python | |||||
Deploy BERT for Sentiment Analysis as REST API using FastAPI, Transformers by Hugging Face and PyTorch | ||||||||||
Tensorflow Chatbot | 86 | a year ago | Python | |||||||
Tensorflow chatbot which is capable of interacting with user through Rest Api, Web interface, GUI and CLI. | ||||||||||
Phantoscope | 79 | 3 years ago | 8 | apache-2.0 | Python | |||||
Open Source, Cloud Native, RESTful Search Engine Powered by Neural Networks | ||||||||||
Ml Rest | 62 | 4 years ago | 1 | unlicense | Python | |||||
REST API (and possible UI) for Machine Learning workflows | ||||||||||
Django_web | 60 | a year ago | 8 | apache-2.0 | Python | |||||
✨ DJANGO3.1 网站,集成用户管理,文章博客管理,算法模型可视化系统等功能 | ||||||||||
Rekognition | 54 | 10 months ago | 15 | gpl-3.0 | Python | |||||
Free and Open Source alternative to Amazon's Rekognition service. CCExtractor Development | Poor Man's Rekognition | ||||||||||
Serving | 45 | 1 | 3 years ago | 1 | August 26, 2019 | 3 | other | Java | ||
A stand alone industrial serving system for angel. | ||||||||||
Gretel Python Client | 35 | 6 days ago | apache-2.0 | Python | ||||||
The Gretel Python Client allows you to interact with the Gretel REST API. |
mlserve turns your python models into RESTful API, serves web page with form generated to match your input data.
It may be useful if one wants to demonstrate created predictive model and quickly integrate into existing application. Additionally UI is provided for input data (based on training dataframe) and simple dashboard.
Project is not complete but already usable, so no any guaranties on API or UI backward compatibility.
Several models deployed online using heroku.com/free
free dynos.
Free apps sleep automatically after 30 mins of inactivity so first request
may take some time.
Full source code and instructions available here: ml-libs/mlserve-demo
mlsserve is small using following design based on following ideas:
Installation process is simple, just:
$ pip install git+https://github.com/ml-libs/mlserve.git
To deploy model just follow following simple steps:
Save your model into pickle file:
with open('boston_gbr.pkl', 'wb') as f:
pickle.dump(clf, f)
Use build_schema function to build UI representation of pandas dataframe, and save it as json file file:
import mlserve
data_schema = mlserve.build_schema(df)
with open('boston.json', 'wb') as f:
json.dump(data_schema, f)
Create configuration file with following format:
models: - name: "boston_regressor" # url friendly name description: "Boston GBR" # optional model description model_path: "boston_gbr.pkl" # path to your saved model data_schema_path: "boston.json" # path to data representation target: "target" # name of the target column
Serve model:
$ mlserve -c models.yaml
Thats it, model is available throw REST API, you can test is with curl command:
$ curl --header "Content-Type: application/json" --request POST --data '[{"feature1": 1, "feature2": 2}]' http://127.0.0.1:9000/api/v1/models/boston_gradient_boosting_regressor/predict
UI is available via http://127.0.0.1:9000