Convolutional Neural Networks for Sentence Classification
2014-08-25EMNLP 2014Code Available1· sign in to hype
Yoon Kim
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/facebookresearch/pytextpytorch★ 6,305
- github.com/dennybritz/cnn-text-classification-tftf★ 5,684
- github.com/prakashpandey9/Text-Classification-Pytorchpytorch★ 818
- github.com/inspirehep/magpienone★ 688
- github.com/alexander-rakhlin/CNN-for-Sentence-Classification-in-Kerastf★ 595
- github.com/threelittlemonkeys/cnn-text-classification-pytorchpytorch★ 21
- github.com/plkumjorn/FINDtf★ 18
- github.com/wy-ei/Text-CNNpytorch★ 11
- github.com/ahmedssabir/textual-visual-semantic-datasettf★ 9
- github.com/pipidog/CNLPtf★ 5
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.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| SST-2 Binary classification | CNN-multichannel [kim2013] | Accuracy | 88.1 | — | Unverified |