slaysd / pytorch-sentiment-analysis-classification

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Jupyter Notebook 61.9%Language:Python 38.1%