Tensorflow FULL Implementation of Yoon Kim's Text CNN Paper
- numpy
- gensim
- tensorflow
- tensorboard
- Specify Location of data files
to_trainer = TOTrainParameter(
'/content/gdrive/My Drive/cs551final/data'
)
-
Make a dirctory "W2V" under "data", and put google w2v bin file under it.
-
Run utility functions and class models by "Runtime" -> "Run Before" on "Before Running your section, do a "Runtime" -> "Run before" on previous cells." cell.
-
choose your experiment to run.
Code Base was imported from https://github.com/dennybritz/cnn-text-classification-tf, with significant modifications to adapt the actual paper.