Transformation Networks for Target-Oriented Sentiment Classification (ACL 2018)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dataset Delete readme.txt May 10, 2018
embeddings Create README.md Jun 12, 2018
.gitignore Initial commit Apr 23, 2018
README.md Update README.md Jul 22, 2018
func_words.txt commit the list of the functional words Jun 12, 2018

README.md

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}
}