Skip to content

ulissesbcorrea/ABSA-PyTorch

 
 

Repository files navigation

ABSA-PyTorch

Aspect Based Sentiment Analysis with PyTorch.

基于方面的情感分析,使用PyTorch实现。

Packagist PRsWelcome PythonVersion

Dependencies

  • PyTorch 0.4.0
  • NumPy 1.13.3
  • tensorboardX 1.2
  • Python 3.6
  • GloVe pre-trained word vectors (See data_utils.py for more detail)

An usage example

Training

python ian.py

See the training process (needs to install TensorFlow)

tensorboard --logdir=./ian_logs

Implemented models

RAM (ram.py)

Chen, Peng, et al. "Recurrent Attention Network on Memory for Aspect Sentiment Analysis." Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing. 2017. [pdf]

ram

MemNet (memnet.py)

Tang, Duyu, Bing Qin, and Ting Liu. "Aspect level sentiment classification with deep memory network." arXiv preprint arXiv:1605.08900 (2016). [pdf]

memnet

IAN (ian.py)

Ma, Dehong, et al. "Interactive Attention Networks for Aspect-Level Sentiment Classification." arXiv preprint arXiv:1709.00893 (2017). [pdf]

han

TD-LSTM (td_lstm.py)

Tang, Duyu, et al. "Effective LSTMs for Target-Dependent Sentiment Classification." Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers. 2016. [pdf]

td-lstm

LSTM (lstm.py)

lstm

Reviews / Surveys

Zhang, Lei, Shuai Wang, and Bing Liu. "Deep Learning for Sentiment Analysis: A Survey." arXiv preprint arXiv:1801.07883 (2018). [pdf]

Young, Tom, et al. "Recent trends in deep learning based natural language processing." arXiv preprint arXiv:1708.02709 (2017). [pdf]

Licence

MIT License

About

Aspect Based Sentiment Analysis with PyTorch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 84.9%
  • Python 15.1%