Skip to content

lajanugen/attr-sent-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Preparing training data

The training code expects data to be in TFRecord format. data_prep/convert.py can be used to convert text data into this form. An example invocation on the sentiment data from Shen et al. is as below:

python data_prep/convert.py data/sentiment.test.0,data/sentiment.test.1 <vocab file> <output dir>

Training and evaluation

The scripts folder has bash scripts to train and sample from the models.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published