/Bert-sentiment-analysis

Use this to predict the sentiment of the text. Provides probability score of sentiment being positive or negative.

Primary LanguagePython

Bert Sentiment Analysis

Introduction

how to use

  • make sure you have docker installed
  • then use next command to build the docker image docker build -t bert-docker .
  • to run this container use docker run -d -p 9999:9999 -e PORT=9999 bert-docker:latest

Requirements

  • Pytorch
  • Flask
  • Python
  • HTML/CSS/JS

Demo Images

Index page which take sentence as a input.


Output page to display the prediction

Accuracy