A web app which classifies the sentiment of Disneyland review(s). The user review is sent as input to a pre-trained model that returns an output describing the sentiment as either positive or negative.
The Disneyland-Reviews dataset was used for training the model. The model itself is very basic consisting of an input layer, an embedding layer, 1D global average pooling layer and a dense layer as the output layer. The model was compiled using the binary crossentropy loss function and adam optimizer.
Install the libraries and run with streamlit.
pip install -r requirements.txt
streamlit run nlp.py
The app will open with the default web browser
<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
- Add jupyter notebook