Skip to content
This repository has been archived by the owner on Jul 4, 2019. It is now read-only.

Latest commit

 

History

History
9 lines (7 loc) · 475 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 475 Bytes

Description

Keras implementation of 'Convolutional Neural Networks for Sentence Classification. EMNLP 2014. Y. Kim. A two channel CNN model is built and trained.

Usage

Various paramters are stored using 'configuration.py'. Simply edit 'main()' function in m'main.py' for the task you want, and run using 'python main.py'.

Data source path:

'configuration.py' has variables to hold path to data sources (data_src) and pretrained word embeddings (embeddings_src).