Skip to content
/ VDCNN Public

Keras Implementation of Very Deep Convolutional Neural Network for Text Classification

Notifications You must be signed in to change notification settings

umer7/VDCNN

Repository files navigation

VDCNN

Keras Implementation of Very Deep Convolutional Neural Network for Text Classification.

Note

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.

Prerequisites

  • Python3
  • Tensorflow 1.0 or higher
  • keras 2.1.5 or higher
  • Numpy

Reference

Orignal Repo of VDCNN

Original preprocessing codes and VDCNN Implementation By geduo15

Train Script and data iterator from Convolutional Neural Network for Text Classification

NLP Datasets Gathered by ArdalanM and Others

About

Keras Implementation of Very Deep Convolutional Neural Network for Text Classification

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages