Skip to content

AAAI18 paper 《Improving Review Representations with User Attention and Product Attention for Sentiment Classification》

Notifications You must be signed in to change notification settings

wuzhen247/HUAPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

HUAPA

HUAPA is the proposed model in 《Improving Review Representations with User Attention and Product Attention for Sentiment Classification》, which is accepted by AAAI'18.

Data

The original datasets are released by the paper [Tang et al., 2015]. [Download]

The embedding file. [Download]

Train

For example, you can use the folowing command to train HUAPA in the dataset imdb:

python train.py --n_class 10 --dataset imdb

The best model will be saved in the folder "../checkpoints/imdb/timestamp". The timestamp is server time.

Test

For example, you can use the folowing command to test HUAPA in the dataset imdb:

python test.py --n_class 10 --dataset imdb --checkpoint ../checkpoints/imdb/timestamp

Cite

if you use the code, please cite the following paper:

[Wu et al., 2018] Zhen Wu, Xin-Yu Dai, Cunyan Yin, Shujian Huang, Jiajun Chen. Improving Review Representations with User Attention and Product Attention for Sentiment Classification. In Proceedings of AAAI.

Reference

[Wu et al., 2018] Zhen Wu, Xin-Yu Dai, Cunyan Yin, Shujian Huang, Jiajun Chen. Improving Review Representations with User Attention and Product Attention for Sentiment Classification. In Proceedings of AAAI.

[Tang et al., 2015] Duyu Tang, Bing Qin, Ting Liu. Learning Semantic Representations of Users and Products for Document Level Sentiment Classification. In Proceedings of EMNLP.

About

AAAI18 paper 《Improving Review Representations with User Attention and Product Attention for Sentiment Classification》

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages