TNet

by lixin4ever

lixin4ever /TNet

Transformation Networks for Target-Oriented Sentiment Classification (ACL 2018)

130 Stars 30 Forks Last release: Not found 15 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

TNet

Transformation Networks for Target-Oriented Sentiment Classification. (Currently, code is only available upon request)

Requirements

  • Python 3.6
  • Theano 0.9.0
  • numpy 1.13.1
  • pygpu 0.6.9
  • GloVe.840B.300d

Running

THEANO_FLAGS="device=cuda0, optimizer=fast_compile" python main.py -ds_name [YOUR_DATASET_NAME] -connection_type [AS|LF]

Environment

  • OS: REHL Server 6.4 (Santiago)
  • GPU: NVIDIA GTX 1080
  • CUDA: 9.2
  • cuDNN: v7.1.4

Citation

If the code is used in your research, please star our repo and cite our paper as follows:

@inproceedings{li2018transformation,
  title={Transformation Networks for Target-Oriented Sentiment Classification},
  author={Li, Xin and Bing, Lidong and Lam, Wai and Shi, Bei},
  booktitle={ACL},
  pages={946--956},
  year={2018}
}

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.