/pytorch-sentiment-classification

LSTM and CNN sentiment analysis

Primary LanguagePython

sentiment-classification

LSTM and CNN sentiment analysis in PyTorch

The sentiment model is trained on Stanford Sentiment Treebank (i.e. SST2), e.g. as obtained from text_convnet repo.

Requires

  • torch
  • torchtext
  • tqdm
  • torchwordemb pip install torchwordemb
  • GoogleNews-vectors-negative300.bin