This is a sentiment analysis model, deployed to a dash webapp.
Users can input the text in the text box and get the sentiment of the text classified.
-
Sentiments:
Negative,Neutral,Positive -
Tags:
Very Negative,Negative,Neutral,Positive,Very Positive
(The following instructions apply to Posix/bash. Windows users should check here.)
First, clone this repository and open a terminal inside the root folder.
Create and activate a new virtual environment (recommended) by running the following:
python3 -m venv myvenv
source myvenv/bin/activateInstall the requirements:
pip install -r requirements.txtRun the app:
python app.pyOpen a browser at http://127.0.0.1:8050
The dataset is available at the Stanford NLP website
Model trained on Google Colab here: https://colab.research.google.com/drive/1R8C37FCryBpRRmRn_k5Jn0DSHAULLRAi
The model's saved weights and json is available in the model folder.
