Keras Implementation of Very Deep Convolutional Neural Network for Text Classification.
This repository include a simple Keras implementation of VDCNN model proposed by Conneau et al. Paper for VDCNN including the Data for Training and Testing. you can find the orignal repo in reference
Note: Temporal batch norm not implemented. "Temp batch norm applies same kind of regularization as batch norm, except that the activations in a mini-batch are jointly normalized over temporal instead of spatial locations." Right now this project is using regular Tensorflow batch normalization only.
See another VDCNN implementation in Pytorch if you feel more comfortable with Pytorch, in which the author is having detailed reproduced results as well. See the original Tensorflow implementation as well.
It should be noted that the VDCNN paper states that the implementation is done originally in Touch 7.
- Python3
- Tensorflow 1.0 or higher
- keras 2.1.5 or higher
- Numpy
Original preprocessing codes and VDCNN Implementation By geduo15
Train Script and data iterator from Convolutional Neural Network for Text Classification