Skip to content
/ TextCNN Public

Tensorflow implementation of "Convolutional Neural Networks for Sentence Classification"

Notifications You must be signed in to change notification settings

xnuohz/TextCNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextCNN

Tensorflow implementation of "Convolutional Neural Networks for Sentence Classification"

model

Requirements

  • python 3.6
  • tensorflow 1.12.0
  • tqdm 4.28.1
  • click 7.0
  • YAML

Usage

  • preprocess
python -m cnn.preprocess --data-cnf ../config/dataset/rt-polarity.yaml
  • training
python -m cnn.main --data-cnf ../config/dataset/rt-polarity.yaml --model-cnf ../config/model/CNN.yaml

Result

terminal

Reference

About

Tensorflow implementation of "Convolutional Neural Networks for Sentence Classification"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages