This repository contains machine learning models of Sentiment Analysis, designed to be deployed using ONNX and utilized in a Streamlit-based web application. The app provides an interactive interface for performing this task using neural network architectures. Check here to see other ML tasks.
For more information about the training process, please check the snt-analysis.ipynb
file in the training
folder.
If you encounter message This app has gone to sleep due to inactivity
, click Yes, get this app back up!
button to wake the app back up.
If the demo page is not working, you can fork or clone this repository and run the application locally by following these steps:
-
Clone the repository:
git clone https://github.com/verneylmavt/st-snt-analysis.git cd st-snt-analysis
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
Alternatively you can run jupyter notebook demo.ipynb
for a minimal interface to quickly test the model (implemented w/ ipywidgets
).
I acknowledge the use of the Large Movie Review Dataset (aclImdb) provided by Andrew L. Maas and colleagues. This dataset has been instrumental in conducting the research and developing this project.
- Dataset Name: Large Movie Review Dataset (aclImdb)
- Source: http://ai.stanford.edu/~amaas/data/sentiment/
- Description: This dataset contains 50,000 movie reviews from IMDb, divided into 25,000 reviews for training and 25,000 for testing, with an equal distribution of positive and negative sentiments. It is widely used for binary sentiment classification tasks.
I deeply appreciate the efforts of Andrew L. Maas and his team in making this dataset available.