This project implements and compares multiple deep learning models for sentiment analysis on the IMDb movie reviews dataset.
To classify movie reviews as positive or negative using different recurrent neural network architectures and analyze their performance.
- IMDb Movie Reviews Dataset
- Loaded using the HuggingFace
datasetslibrary - Binary sentiment labels (positive / negative)
- Simple RNN
- LSTM
- Bi-directional LSTM (BiLSTM)
- Multi-layer LSTM
- Tokenization using NLTK
- Stopword removal
- Vocabulary creation
- Sequence padding
- Train / test split
- Python
- PyTorch
- HuggingFace Datasets
- NLTK
- NumPy
- Install dependencies:
pip install torch datasets nltk