Skip to content

marevol/cnn-text-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convolutional Neural Networks for Sentence Classification

This is Chainer based implemantation for Convolutional Neural Networks for Sentence Classification.

Requirements

Code is written in Python 3.5 and requires Chainer and Common-ML.

Using the pre-trained word2vec vectors will also require downloading the binary file from here.

Install the following modules:

pip install chainer
pip install common-ml

Data Preprocessing

To process the raw data, run

python main.py vectorize

Running the models

To process cross validation, run

python main.py cv

Configuration file

See config.xml.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages