HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Convolutional Neural Networks for Sentence Classification

Yoon Kim

Convolutional Neural Networks for Sentence Classification

Abstract

We report on a series of experiments with convolutional neural networks (CNN) trained on top of pre-trained word vectors for sentence-level classification tasks. We show that a simple CNN with little hyperparameter tuning and static vectors achieves excellent results on multiple benchmarks. Learning task-specific vectors through fine-tuning offers further gains in performance. We additionally propose a simple modification to the architecture to allow for the use of both task-specific and static vectors. The CNN models discussed herein improve upon the state of the art on 4 out of 7 tasks, which include sentiment analysis and question classification.

Code Repositories

bplank/teaching-dl4nlp
Mentioned in GitHub
Jerryten/model_nlp
tf
Mentioned in GitHub
plkumjorn/FIND
tf
Mentioned in GitHub
TobiasLee/Text-Classification
tf
Mentioned in GitHub
DongjunLee/text-cnn-tensorflow
tf
Mentioned in GitHub
lrank/Robust-Representation
tf
Mentioned in GitHub
inspirehep/magpie
Mentioned in GitHub
pipidog/CNLP
tf
Mentioned in GitHub
wy-ei/Text-CNN
pytorch
Mentioned in GitHub
nvshrao/Pytorch-GLUE
pytorch
Mentioned in GitHub
MayukhSobo/Conv4RNN
tf
Mentioned in GitHub
SeonbeomKim/TensorFlow-TextCNN
tf
Mentioned in GitHub
richinkabra/CoVe-BCN
pytorch
Mentioned in GitHub
bentrevett/pytorch-sentiment-analysis
pytorch
Mentioned in GitHub
DataZwer/CNNTextClassification
tf
Mentioned in GitHub
yoonkim/CNN_sentence
tf
Mentioned in GitHub
adi2103/AML-CoVe
tf
Mentioned in GitHub
TsingZ0/PFL-Non-IID
pytorch
Mentioned in GitHub
unik00/textCNN-tf2
pytorch
Mentioned in GitHub
pranjalg96/Stylized-Image-captioning
pytorch
Mentioned in GitHub
pipidog/QNLP
tf
Mentioned in GitHub
yangyucheng000/textcnn
mindspore
Mentioned in GitHub
threelittlemonkeys/text-cnn-pytorch
pytorch
Mentioned in GitHub
thisisiron/kaggle-toxic-comment
tf
Mentioned in GitHub
brightmart/ai_law
tf
Mentioned in GitHub
cmasch/cnn-text-classification
tf
Mentioned in GitHub
HuihuiChyan/BJTUNLP_Practice2021
pytorch
Mentioned in GitHub
usama6832/attention_model
Mentioned in GitHub
linguishi/chinese_sentiment
tf
Mentioned in GitHub
reneang17/authorencoder
pytorch
Mentioned in GitHub
bmcclannahan/NLP-Sentiment
pytorch
Mentioned in GitHub
ManuelVs/NeuralNetworks
tf
Mentioned in GitHub
Jarvx/text-classification-pytorch
pytorch
Mentioned in GitHub
Coda-s/BJTU_NLP_Practice
pytorch
Mentioned in GitHub
delldu/TextCNN
pytorch
Mentioned in GitHub
rakeshmp18/Text_Analytics
Mentioned in GitHub
ShindongLee/Sentence_Classifier_CNN
pytorch
Mentioned in GitHub
xiaoxinyu1997/Knowledge-Graph
pytorch
Mentioned in GitHub
unik00/textCNN-pytorch
pytorch
Mentioned in GitHub
HuihuiChyan/BJTUNLP_Practice2020
pytorch
Mentioned in GitHub
JacobLau0513/676-MBTI
tf
Mentioned in GitHub
lrank/Linguistic_adversity
tf
Mentioned in GitHub
afrozloya/charrec
tf
Mentioned in GitHub
DataZwer/BaseTensorFlowModel
tf
Mentioned in GitHub
wiseodd/controlled-text-generation
pytorch
Mentioned in GitHub
yschoi-nisp/AI-Grand-Challenge-2020
pytorch
Mentioned in GitHub
attardi/CNN_sentence
tf
Mentioned in GitHub
kh-kim/simple-ntc
pytorch
Mentioned in GitHub
IndicoDataSolutions/finetune
tf
Mentioned in GitHub
yinghao1019/NLP_and_DL_practice
pytorch
Mentioned in GitHub
timerstime/SDG4DA
tf
Mentioned in GitHub
cove-adml/adml-anon
pytorch
Mentioned in GitHub
hanfeng108/Language-Detection
pytorch
Mentioned in GitHub
facebookresearch/pytext
pytorch
Mentioned in GitHub
toru34/kim_emnlp_2014
Mentioned in GitHub
rainorangelemon/TextCNN-with-Attention
pytorch
Mentioned in GitHub
chiemenz/automl_vs_hyperdrive
tf
Mentioned in GitHub
andrewfwalters/w266-final-project
pytorch
Mentioned in GitHub
piyush2896/CNN-Text-Classifier
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
emotion-recognition-in-conversation-on-cpedTextCNN
Accuracy of Sentiment: 48.90
Macro-F1 of Sentiment: 34.37
sentiment-analysis-on-sst-2-binaryCNN-multichannel [kim2013]
Accuracy: 88.1

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp