Skip to content
/ IKTN Public

Code for "An Iterative Knowledge Transfer Network with Routing for Aspect-based Sentiment Analysis"

Notifications You must be signed in to change notification settings

XL2248/IKTN

Repository files navigation

IKTN

Code for An Iterative Knowledge Transfer Network with Routing for Aspect-based Sentiment Analysis of EMNLP21 Findings (early version)

Introduction

The implementation is based on IMN and the dataset we used is also from IMN. Please download Glove file and the bert-based feature used in this Repo is produced by BERT.

Usage

Training and evaluating with the following scripts (the Hyper-parameters are shown in 'train.py' file and you may change them for better results):

bash train.sh

Requirements

  • Python 2.7
  • Keras 2.2.4
  • tensorflow 1.4.1
  • numpy 1.13.3

Citation

If you find this project helps, please cite the following paper :)

@misc{liang2020iterative,
      title={An Iterative Knowledge Transfer Network with Routing for Aspect-based Sentiment Analysis}, 
      author={Yunlong Liang and Fandong Meng and Jinchao Zhang and Jinan Xu and Yufeng Chen and Jie Zhou},
      year={2020},
      eprint={2004.01935},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

About

Code for "An Iterative Knowledge Transfer Network with Routing for Aspect-based Sentiment Analysis"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages