Skip to content

A PyTorch Tutorials of Sentiment Analysis Classification (RNN, LSTM, Bi-LSTM, LSTM+Attention, CNN)

License

Notifications You must be signed in to change notification settings

slaysd/pytorch-sentiment-analysis-classification

Repository files navigation

Sentiment Analysis Classification

Prerequisite

Install dependencies

pip install -r requirements.txt

Install spacy english data

python -m spacy download en_core_web_sm

Framework

  • Pytorch

Datasets

  • Cornell MR(movie review) Dataset

Implement

  • RNN
  • LSTM
  • Bi-LSTM
  • LSTM+Attention
  • CNN