implement "Attention Modeling for Targeted Sentiment"
- python >= 3.5
- pytorch == 0.3.1
default.ini
is a configuration file, which contains all parameters of model, train, and test.
0、prepare
git clone https://github.com/vipzgy/AttentionTargetClassifier
cd AttentionTargetClassifier
1、preprocess
python preprocess.py
2、train
python train.py