Personalized Sentiment Classification of Customer Reviews via an Interactive Attributes Attention Model
transformers
yaml
easydict
torchtext
spacy
-
all datasets should be downloaded and unzipped in the directory
corpus
in the orginal codes -
running a model over IMDB datasets
python run.py --run train --dataset imdb --model bilinear --gpu 0,1
All training Hyper-Parameters are set in cfgs/config.py and model parameters in cfgs/bilinear_model.yml.