GithubHelp home page GithubHelp logo

liuyidi999 / huapa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wuzhen247/huapa

0.0 2.0 0.0 21 KB

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

Python 100.00%

huapa's Introduction

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]

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.

huapa's People

Contributors

wuzhen247 avatar

Watchers

James Cloos avatar 刘祎迪 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.