pytorch-sentiment-classification icon indicating copy to clipboard operation
pytorch-sentiment-classification copied to clipboard

LSTM and CNN sentiment analysis

sentiment-classification

LSTM and CNN sentiment analysis in PyTorch

The sentiment model is trained on Stanford Sentiment Treebank (i.e. SST2).

Requires

  • torch
  • torchtext
  • tdqm
  • torchwordemb pip install torchwordemb