Tensorflow Implementations.
使用Tensorflow实现。
GloVe: Download pre-trained word vectors here. In this implement, we use glove.42B.300d.zip
BERT: Refer to creat_BERT_embedding.py and creat_BERT_embedding_2_targets.py to create BERT Embedding if need.
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.
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]