项目作者: elateifsara

项目描述 :
Classify forum posts into one of the amazon e-commerce forum categories using Natural Language Processing (NLP) and Machine Learning.
高级语言: Jupyter Notebook
项目地址: git://github.com/elateifsara/forum_post_classifier.git
创建时间: 2021-01-25T15:30:08Z
项目社区:https://github.com/elateifsara/forum_post_classifier

开源协议:

下载


Build and Deploy a forum post classifier using Flask API/Streamlit with Docker

Description

Build an amazon e-commerce forum (from DiscourseHub Community) post classifier that takes the title of a post and its content and classify it into one of the 11 catgories from the amazon e-commerce forum.

Instructions

  1. Train the model using the Colab notebook.
  2. Download the zipped model from colab and put it in either the flask_version folder or the streamlit_version folder depending on the one you want to work with.
  3. Choose the type of deployment you want:
    • Flask API
    • Streamlit
  4. Follow the instructions in the README of each respective solution.

Remarks

Streamlit is super slow.
There are some suggestions in the DS community to use FastAPI instead of Flask API as its runing engine is faster.