Sentiment analysis with LSTM using pytorch.
-
Trained using Twitter Airline Sentiment data from Kaggle.
-
Download the data and copy in the dataset folder.
-
Download gloVe vector from here
-
Extract and copy contents to "data" folder.
-
Execute
python build.pyto prepare the vocabulary and compressed word vectors.
python train.pyfor training.
python evaluate.pyfor command line prompt for evaluation.