Skip to content

ChunningDu/TNet-tensorflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transformation Networks (TensorFlow)

This repo is the implementation of Transformation Networks for Target-Oriented Sentiment Classification (Xin Li, Lidong Bing, Wai Lam, Bei Shi, 2018) which is accepted by ACL 2018.

Before training the model, you need to get the embedding and dataset.

Changelog

  • fix the performance problem (forget shuffle on each epoch.)

Requirements

  • Python 3.6.x
  • tensorflow 1.12.0
  • numpy 1.15.3
  • tqdm 4.23.4
pip install -r requirements.txt

Train Model

python -m TNet.train

Training Monitor

tensorboard --logdir=log --host=<host> --port=<port>

Reference

About

Implementation of https://arxiv.org/abs/1805.01086 by tensorflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%