All Projects → abhaikollara → CNN-Sentence-Classification

abhaikollara / CNN-Sentence-Classification

Licence: other
A tensorflow implementation of Convolutional Neural Networks for Sentence Classification

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to CNN-Sentence-Classification

Customer-Feedback-Analysis
Multi Class Text (Feedback) Classification using CNN, GRU Network and pre trained Word2Vec embedding, word embeddings on TensorFlow.
Stars: ✭ 18 (-76.62%)
Mutual labels:  sentence-classification
ConvNets-for-Sentence-Classification
"Convolutional Neural Networks for Sentence Classification" (Kim 2014) - https://www.aclweb.org/anthology/D14-1181
Stars: ✭ 51 (-33.77%)
Mutual labels:  sentence-classification
Text classification
all kinds of text classification models and more with deep learning
Stars: ✭ 7,179 (+9223.38%)
Mutual labels:  sentence-classification
Dense BiLSTM
Tensorflow Implementation of Densely Connected Bidirectional LSTM with Applications to Sentence Classification
Stars: ✭ 48 (-37.66%)
Mutual labels:  sentence-classification
PubMed-PICO-Detection
PubMed PICO Element Detection Dataset
Stars: ✭ 37 (-51.95%)
Mutual labels:  sentence-classification
NSP-BERT
The code for our paper "NSP-BERT: A Prompt-based Zero-Shot Learner Through an Original Pre-training Task —— Next Sentence Prediction"
Stars: ✭ 166 (+115.58%)
Mutual labels:  sentence-classification
KAREN
KAREN: Unifying Hatespeech Detection and Benchmarking
Stars: ✭ 18 (-76.62%)
Mutual labels:  sentence-classification

CNN-Sentence-Classification

A tensorflow implementation of Convolutional Neural Networks for Sentence Classification. The original paper can be found at https://arxiv.org/abs/1408.5882

The implementation differs from the original paper in the following ways :

  • Pretrained word vectors are not used
  • Two seperate channels of word vectors are not used, all vectors are learned
  • L2 norm constraints are not enforced

Edit the config file to change the configuration of the model

Results

The model produces a test accuracy of 75.33 % within 2 epochs. The results produced in the paper for the given architecture is 76.1 %

Comparison with other models

Comparison with other models (taken from the paper). The model could perform much better with pretrained word vectors

Architecture Test accuracy
CNN-rand 76.1
CNN-static 81.0
CNN-non-static 81.5
CNN-multichannel 81.1
RAE (Socher et al., 2011) 77.7
MV-RNN (Socher et al., 2012) 79.0
CCAE (Hermann and Blunsom, 2013) 77.8
Sent-Parser (Dong et al., 2014) 79.5
NBSVM (Wang and Manning, 2012) 79.4
MNB (Wang and Manning, 2012) 79.0
G-Dropout (Wang and Manning, 2013) 79.0
F-Dropout (Wang and Manning, 2013) 79.1
Tree-CRF (Nakagawa et al., 2010) 77.3
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].