Skip to content
/ HAW Public

Wasserstein based Hierarchial Attention Model for Cross-domain Sentiment Classification

Notifications You must be signed in to change notification settings

nkmeng/HAW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

53cc535 · Apr 1, 2020

History

1 Commit
Apr 1, 2020
Apr 1, 2020
Apr 1, 2020
Apr 1, 2020
Apr 1, 2020

Repository files navigation

HAW

Cross-Domain Sentiment Classification, Tensorflow Implementations.
跨领域情感分类,使用Tensorflow实现


Requirement

  • pre-trained word vectors. GoogleNews 300 dim word2vec. put the path in utils/config.py
  • Amazon cross-domain sentiment classification dataset.
  • python process_original_data.py
    
  • stopword list. put in the "HAW/raw_dataset/"

Training

python HAW.py

About

Wasserstein based Hierarchial Attention Model for Cross-domain Sentiment Classification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages