This project focuses on sentiment analysis of movie reviews using Recurrent Neural Networks (RNNs) on the IMDB dataset. The IMDB dataset is a widely used dataset in sentiment analysis tasks, containing 50,000 movie reviews categorized into positive and negative sentiments. The goal of this project is to develop a model that can accurately classify the sentiment of a given movie review as either positive or negative.
Dataset The IMDB dataset consists of:
- 25,000 training reviews: Each review is labeled as either positive or negative.
- 25,000 testing reviews: Each review is also labeled and used to evaluate the performance of the model.
The dataset is preprocessed to handle text data, including tokenization, padding, and encoding, to prepare it for training the RNN model.
Then create new environment where contain nessessary packages to this project. Ensure you have Python 3.9+ installed.
python -m venv .venv
Activate new enviroment
.venv\Scripts\activate
Then, install the required dependencies using pip:
pip install -r requirements.txt
All done! To run the application, start the Streamlit server:
streamlit run app.py
Visit the URL shown in your terminal (usually http://localhost:8501) to view the app.
For questions, contributions, or bug reports, please feel free to reach out:
- Email: [email protected]
- Linkedin: https://www.linkedin.com/in/hoangtrong151102/
- Instagram: https://www.instagram.com/h.c.trong_02/
I appreciate your feedback and involvement!