Sentiment analysis for movie reviews using deep learning
- Clone repository
- Download dataset from http://ai.stanford.edu/~amaas/data/sentiment/ and extract
aclImdb
folder into repository root folder - Create conda env from
requirements.txt
- Run
setup.py
- (Optional) run
src/utils/make_datasets.py
- (Optional) Download gLove embeddings from https://nlp.stanford.edu/data/glove.6B.zip and extract
glove.6B.50d.txt
intodata
folder
Steps 5 and 6 only neccessary if you wish to first run the model from command line using python src/models/LSTM.py
. If you simply wish to follow along with my jupyter notebook these steps will be done automatically.