Pinlong-Zhao / SDGCN

Modeling Sentiment Dependencies with Graph Convolutional Networks for Aspect-level Sentiment Classification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDGCN

Tensorflow Implementations.

使用Tensorflow实现。

Requirement

  • python 3.6 / 3.7
  • tensorflow >= 1.12
  • numpy
  • sklearn
  • bert_embedding

Usage

Creat the embedding

Training

python run_glove.py 

Train model with GloVe Embedding. See run_glove.py for more training arguments.

python run_bert.py 

Train model with BERT Embedding. See run_bert.py for more training arguments.

Citation

The manuscript is avaliable in arXiv:

"Modeling Sentiment Dependencies with Graph Convolutional Networks for Aspect-level Sentiment Classification". arXiv preprint arXiv:1906.04501 (2019) [pdf]

sdgcn_img

About

Modeling Sentiment Dependencies with Graph Convolutional Networks for Aspect-level Sentiment Classification


Languages

Language:Python 100.0%