Skip to content

elateifsara/forum_post_classifier

Repository files navigation

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.

About

Classify forum posts into one of the amazon e-commerce forum categories using Natural Language Processing (NLP) and Machine Learning.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published