Skip to content

Personalized Sentiment Classification of Customer Reviews via an Interactive Attributes Attention Model

Notifications You must be signed in to change notification settings

yoyo-yun/BilinearReview_journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BilinearReview_journal

Personalized Sentiment Classification of Customer Reviews via an Interactive Attributes Attention Model

Main Requirements

transformers
yaml
easydict
torchtext
spacy

Simple Usage

  • all datasets should be downloaded and unzipped in the directory corpus in the orginal codes

    • Original IMDB, Yelp datasets are available at here and Amazon dataset at here
    • zipped datasets are also downloaded at here (提取码:luck)
  • running a model over IMDB datasets

python run.py --run train --dataset imdb --model bilinear --gpu 0,1

Noting

All training Hyper-Parameters are set in cfgs/config.py and model parameters in cfgs/bilinear_model.yml.

About

Personalized Sentiment Classification of Customer Reviews via an Interactive Attributes Attention Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages