Papers › Convolutional Neural Networks for Sentence Classification

Convolutional Neural Networks for Sentence Classification

25 Aug 2014EMNLP 2014 10arXiv:1408.5882archive 2025-07-28

Yoon Kim

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 77 code samples harvested from 20 repositories linked to this paper: 53 ran (of which 0 constructed an object rather than computing a result; 40 with no instrument failure: 6 honoured, 1 violated, 33 with no contract checked; 13 where Syntology's instrument failed) · 24 unverified. Where Syntology's instrument failed: 12 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 77 samples from 20 repositories, 53 ran (40 with no instrument failure; 13 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 14 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 53 samples that ran has no recorded date.

118 repositories listed; official and paper-mentioned ones first.

Coda-s/BJTU_NLP_Practice mentioned on GitHubpytorchSyntology: not harvested report
DataZwer/BaseTensorFlowModel mentioned on GitHubtfSyntology: not harvested report
DataZwer/CNNTextClassification mentioned on GitHubtfSyntology: not harvested report
DongjunLee/text-cnn-tensorflow mentioned on GitHubtfSyntology: not harvested report
HuihuiChyan/BJTUNLP_Practice2020 mentioned on GitHubpytorchSyntology: not harvested report
HuihuiChyan/BJTUNLP_Practice2021 mentioned on GitHubpytorchSyntology: not harvested report
IndicoDataSolutions/finetune mentioned on GitHubtfMPL-2.0Syntology: not harvested report
JacobLau0513/676-MBTI mentioned on GitHubtfSyntology: not harvested report
Jarvx/text-classification-pytorch mentioned on GitHubpytorchSyntology: not harvested report
Jerryten/model_nlp mentioned on GitHubtfSyntology: not harvested report
JiachuanDENG/CNN-Textual-RegressionModel-for-commodity-price-prediction mentioned on GitHubpytorchSyntology: not harvested report
Johnnylyu/Text-Mining-and-Classification-for-Attain mentioned on GitHubtfSyntology: not harvested report
Jverma/cnn-text-classification-keras mentioned on GitHubtfSyntology: not harvested report
Kim-inhwan/Word2vec-CNN-for-classfication mentioned on GitHubSyntology: not harvested report
ManuelVs/NNForTextClassification mentioned on GitHubtfMITSyntology: not harvested report
ManuelVs/NeuralNetworks mentioned on GitHubtfMITSyntology: not harvested report
MayukhSobo/Conv4RNN mentioned on GitHubtfSyntology: not harvested report
Nirvanabc/sentence_classification mentioned on GitHubtfSyntology: 3 samples, 3 ran (2 instrument-failed) · 0 unverified report
PJamesY/category_classification-NLP- mentioned on GitHubtfSyntology: not harvested report
RaffaeleGalliera/pytorch-cnn-text-classification mentioned on GitHubpytorchSyntology: not harvested report
SeonbeomKim/TensorFlow-TextCNN mentioned on GitHubtfSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
Shawn1993/cnn-text-classification-pytorch mentioned on GitHubpytorchApache-2.0Syntology: 2 samples, 2 ran (0 instrument-failed) · 0 unverified report
ShindongLee/Sentence_Classifier_CNN mentioned on GitHubpytorchMITSyntology: 3 samples, 2 ran (0 instrument-failed) · 1 unverified report
TobiasLee/Text-Classification mentioned on GitHubtfSyntology: 1 sample, 0 ran · 1 unverified report
TsingZ0/PFL-Non-IID mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Communication-Efficient Learning of Deep Networks from Decentralized Data (arXiv:1602.05629; that paper's own run record: 47 ran (of which 17 constructed an object rather than computing a result; 27 with no instrument failure: 2 honoured, 0 violated, 25 with no contract checked; 20 where Syntology's instrument failed) · 30 unverified), Think Locally, Act Globally: Federated Learning with Local and Global Representations (arXiv:2001.01523; that paper's own run record: 2 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 1 where Syntology's instrument failed) · 4 unverified), Ditto: Fair and Robust Federated Learning Through Personalization (arXiv:2012.04221; that paper's own run record: 15 ran (of which 5 constructed an object rather than computing a result; 12 with no instrument failure: 7 honoured, 0 violated, 5 with no contract checked; 3 where Syntology's instrument failed) · 3 unverified) and 8 more (every one in this page's JSON twin); nothing checks that they implement this paper's method. report
adamx97/Data-Science-Advanced-Capstone mentioned on GitHubtfSyntology: not harvested report
adi2103/AML-CoVe mentioned on GitHubtfSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Attention Is All You Need (arXiv:1706.03762; that paper's own run record: 610 ran (of which 293 constructed an object rather than computing a result; 529 with no instrument failure: 45 honoured, 15 violated, 469 with no contract checked; 81 where Syntology's instrument failed) · 336 unverified) and Learned in Translation: Contextualized Word Vectors (arXiv:1708.00107; that paper's own run record: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 2 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
afrozloya/charrec mentioned on GitHubtfApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to A Sensitivity Analysis of (and Practitioners' Guide to) Convolutional Neural Networks... (arXiv:1510.03820; that paper's own run record: 2 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 2 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
ahmedbahaaeldin/Papers-from-Scratch mentioned on GitHubSyntology: not harvested report
ahmedssabir/textual-visual-semantic-dataset mentioned on GitHubtfSyntology: not harvested report
alexander-rakhlin/CNN-for-Sentence-Classification-in-Keras mentioned on GitHubtfMITSyntology: 2 samples, 2 ran (0 instrument-failed) · 0 unverified report
andrewfwalters/w266-final-project mentioned on GitHubpytorchMITSyntology: not harvested report
attardi/CNN_sentence mentioned on GitHubtfSyntology: not harvested report
au1206/Convolutional-Neural-Networks-for-Sentence-Classification mentioned on GitHubSyntology: not harvested report
audqhsid/-Review-CNN-for-Sentence-Classification mentioned on GitHubtfSyntology: 2 samples, 2 ran (2 instrument-failed) · 0 unverified report
avinashsai/Convolutional-Neural-Networks-for-Text-Classification mentioned on GitHubpytorchGPL-3.0Syntology: not harvested report
baiyang2464/chatbot-base-on-Knowledge-Graph mentioned on GitHubtfSyntology: not harvested report
bentrevett/pytorch-sentiment-analysis mentioned on GitHubpytorchSyntology: not harvested report
bmcclannahan/NLP-Sentiment mentioned on GitHubpytorchSyntology: not harvested report
bplank/teaching-dl4nlp mentioned on GitHubSyntology: not harvested report
brianyan918/CNN-for-Sentence-Classification mentioned on GitHubpytorchSyntology: not harvested report
brightmart/ai_law mentioned on GitHubtfSyntology: not harvested report
chiemenz/AzureML-Sentiment-Classification-and-Model-Deployment mentioned on GitHubtfMITSyntology: 3 samples, 2 ran (0 instrument-failed) · 1 unverified report
chiemenz/automl_vs_hyperdrive mentioned on GitHubtfMITSyntology: not harvested report
cjyanyi/CS542-tweets-sentiment-analysis mentioned on GitHubtfSyntology: not harvested report
cmasch/cnn-text-classification mentioned on GitHubtfSyntology: not harvested report
cove-adml/adml-anon mentioned on GitHubpytorchSyntology: not harvested report
ddajing/multilayer-cnn-text-classification mentioned on GitHubtfApache-2.0Syntology: 3 samples, 2 ran (0 instrument-failed) · 1 unverified report
delldu/TextCNN mentioned on GitHubpytorchApache-2.0Syntology: 5 samples, 2 ran (0 instrument-failed) · 3 unverified report
dennybritz/cnn-text-classification-tf mentioned on GitHubtfApache-2.0Syntology: not harvested report
diegoschapira/CNN-Text-Classifier-using-Keras mentioned on GitHubtfSyntology: not harvested report
dongjun-Lee/text-classification-models-tf mentioned on GitHubtfSyntology: not harvested report
facebookresearch/pytext mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
fangrouli/Document-embedding-generation-models mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (arXiv:1908.10084; that paper's own run record: 33 ran (of which 9 constructed an object rather than computing a result; 30 with no instrument failure: 1 honoured, 0 violated, 29 with no contract checked; 3 where Syntology's instrument failed) · 25 unverified); nothing checks that they implement this paper's method. report
frederick0329/text-classification-benchmark mentioned on GitHubpytorchSyntology: not harvested report
gaussic/text-classification-cnn-rnn mentioned on GitHubtfSyntology: 2 samples, 1 ran (1 instrument-failed) · 1 unverified report
gmichalo/question_identification_on_medical_logs mentioned on GitHubpytorchSyntology: not harvested report
guanliu321/CNN-RNN-HAN-for-Text-Classification-Using-NLP mentioned on GitHubSyntology: not harvested report
hanfeng108/Language-Detection mentioned on GitHubpytorchSyntology: not harvested report
hi-underworld/Imformation-Retrieval-weekly-report mentioned on GitHubSyntology: not harvested report
inspirehep/magpie mentioned on GitHubMITSyntology: 3 samples, 1 ran (0 instrument-failed) · 2 unverified report
kh-kim/simple-ntc mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (0 instrument-failed) · 0 unverified report
kshitij1489/review_classification mentioned on GitHubtfSyntology: not harvested report
kushalj001/Kaggle-Quora-Insincere-Questions-Challenge mentioned on GitHubSyntology: not harvested report
linguishi/chinese_sentiment mentioned on GitHubtfSyntology: not harvested report
lrank/Linguistic_adversity mentioned on GitHubtfSyntology: not harvested report
lrank/Robust-Representation mentioned on GitHubtfSyntology: not harvested report
machine-learning-study-group/movie-sentiment-analysis mentioned on GitHubtfSyntology: not harvested report
nestle1993/SE16-Task6-Stance-Detection mentioned on GitHubSyntology: not harvested report
nithishkaviyan/Sentiment-Analysis-of-Yelp-Reviews mentioned on GitHubpytorchSyntology: not harvested report
nvshrao/Pytorch-GLUE mentioned on GitHubpytorchSyntology: not harvested report
paper-cat/Sentence-Classifications mentioned on GitHubtfMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Character-level Convolutional Networks for Text Classification (arXiv:1509.01626; that paper's own run record: 17 ran (of which 0 constructed an object rather than computing a result; 13 with no instrument failure: 0 honoured, 0 violated, 13 with no contract checked; 4 where Syntology's instrument failed) · 3 unverified); nothing checks that they implement this paper's method. report
pipidog/CNLP mentioned on GitHubtfSyntology: not harvested report
pipidog/QNLP mentioned on GitHubtfSyntology: not harvested report
piyush2896/CNN-Text-Classifier mentioned on GitHubtfMITSyntology: 14 samples, 7 ran (0 instrument-failed) · 7 unverified report
plkumjorn/FIND mentioned on GitHubtfGPL-3.0Syntology: not harvested report
prakashpandey9/Text-Classification-Pytorch mentioned on GitHubpytorchMITSyntology: not harvested report
pranjalg96/Stylized-Image-captioning mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Generating Sentences from a Continuous Space (arXiv:1511.06349; that paper's own run record: 14 ran (of which 6 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 1 violated, 9 with no contract checked; 2 where Syntology's instrument failed) · 17 unverified); nothing checks that they implement this paper's method. report
rachit-shah/News-Classfication-using-DNN-models mentioned on GitHubSyntology: not harvested report
radoslawkrolikowski/sentiment-analysis-pytorch mentioned on GitHubpytorchSyntology: not harvested report
rainorangelemon/TextCNN-with-Attention mentioned on GitHubpytorchApache-2.0Syntology: 4 samples, 3 ran (0 instrument-failed) · 1 unverified report
rakeshmp18/Text_Analytics mentioned on GitHubSyntology: not harvested report
randomrandom/deep-atrous-cnn-sentiment mentioned on GitHubtfSyntology: not harvested report
reneang17/authorencoder mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to FaceNet: A Unified Embedding for Face Recognition and Clustering (arXiv:1503.03832; that paper's own run record: 99 ran (of which 19 constructed an object rather than computing a result; 83 with no instrument failure: 11 honoured, 11 violated, 61 with no contract checked; 16 where Syntology's instrument failed) · 55 unverified); nothing checks that they implement this paper's method. report
richinkabra/CoVe-BCN mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Learned in Translation: Contextualized Word Vectors (arXiv:1708.00107; that paper's own run record: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 2 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
ryokamoi/cnn_for_sentence_classification mentioned on GitHubtfMITSyntology: not harvested report
shagunsodhani/CNN-Sentence-Classifier mentioned on GitHubMITSyntology: 2 samples, 2 ran (0 instrument-failed) · 0 unverified report
svjan5/CNN-for-text-classification mentioned on GitHubSyntology: 2 samples, 2 ran (2 instrument-failed) · 0 unverified report
thisisiron/kaggle-toxic-comment mentioned on GitHubtfSyntology: not harvested report
threelittlemonkeys/cnn-text-classification-pytorch mentioned on GitHubpytorchSyntology: not harvested report
threelittlemonkeys/text-cnn-pytorch mentioned on GitHubpytorchSyntology: not harvested report
timerstime/SDG4DA mentioned on GitHubtfSyntology: not harvested report
toru34/kim_emnlp_2014 mentioned on GitHubSyntology: not harvested report
unik00/textCNN-pytorch mentioned on GitHubpytorchSyntology: not harvested report
unik00/textCNN-tf2 mentioned on GitHubpytorchSyntology: not harvested report
usama6832/attention_model mentioned on GitHubSyntology: 6 samples, 4 ran (2 instrument-failed) · 2 unverified report
vithyayogarajan/covid-19-patient-shielding mentioned on GitHubpytorchSyntology: not harvested report
wiseodd/controlled-text-generation mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Generating Sentences from a Continuous Space (arXiv:1511.06349; that paper's own run record: 14 ran (of which 6 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 1 violated, 9 with no contract checked; 2 where Syntology's instrument failed) · 17 unverified); nothing checks that they implement this paper's method. report
wy-ei/Text-CNN mentioned on GitHubpytorchMITSyntology: 4 samples, 2 ran (0 instrument-failed) · 2 unverified report
xiaoxinyu1997/Knowledge-Graph mentioned on GitHubpytorchSyntology: not harvested report
yangyucheng000/textcnn mentioned on GitHubmindsporeSyntology: not harvested report
yinghao1019/NLP_and_DL_practice mentioned on GitHubpytorchSyntology: not harvested report
yongjincho/cnn-text-classification-pytorch mentioned on GitHubpytorchSyntology: not harvested report
yoonkim/CNN_sentence mentioned on GitHubtfSyntology: not harvested report
yschoi-nisp/AI-Grand-Challenge-2020 mentioned on GitHubpytorchMITSyntology: 14 samples, 12 ran (3 instrument-failed) · 2 unverified report
zhouyixin829/Analysis-on-Stop-Asian-Hate-trend-from-Twitter mentioned on GitHubtorchMITSyntology: not harvested report
Negus25/MindSpore-CNN_sentence mindsporeSyntology: not harvested report
PaddlePaddle/PaddleNLP paddleSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to ERNIE 3.0 Tiny: Frustratingly Simple Method to Improve Task-Agnostic Distillation... (arXiv:2301.03416; that paper's own run record: 2 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified); nothing checks that they implement this paper's method. report
PaddlePaddle/PaddleRec paddleSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to ESCM²: Entire Space Counterfactual Multi-Task Model for Post-Click Conversion Rate Estimation (arXiv:2204.05125; that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 0 honoured, 0 violated, 5 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
dmlc/gluon-nlp mxnetApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to GluonCV and GluonNLP: Deep Learning in Computer Vision and Natural Language Processing (arXiv:1907.04433; that paper's own run record: 1 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
lvyufeng/mindspore-nlp-tutorial mindsporeMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (arXiv:1810.04805; that paper's own run record: 300 ran (of which 75 constructed an object rather than computing a result; 234 with no instrument failure: 18 honoured, 5 violated, 211 with no contract checked; 66 where Syntology's instrument failed) · 359 unverified); nothing checks that they implement this paper's method. report
mindspore-ai/models mindsporeSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to AdaBin: Improving Binary Neural Networks with Adaptive Binary Sets (arXiv:2208.08084; that paper's own run record: 4 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified); nothing checks that they implement this paper's method. report
mindspore-courses/DeepNLP-models-MindSpore mindsporeApache-2.0Syntology: not harvested report
yinghao1019/NLP_and_DL_practice pytorchSyntology: not harvested report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

77 samples harvested: 53 ran (of which 0 constructed an object rather than computing a result; 40 with no instrument failure: 6 honoured, 1 violated, 33 with no contract checked; 13 where Syntology's instrument failed) · 24 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

6ran · honoured contract
1ran · violated contract
12ran · our draft was wrong
1ran; the contract check could not run
33ran
24unverified

Licence: 21 of the 77 samples are pointer only, meaning Syntology does not serve that copy's text. For 6 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 20 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

Nirvanabc/sentence_classification community (archive-listed) 3 samples, 3 ran (2 instrument-failed) · 0 unverified
get_dict in 10 papers prepare_data.py ran · our draft was wrong no licence file found · pointer only · 74bca835aa136142 · report fixture: signature dict_file:str/0/str · returned tuple · level recorded 2026-09-22
normalize in 638 papers
census: 70 implementations from 82 papers, 51 distinct outputs across 11 buckets, one shared input per bucket
prepare_data.py ran · violated contract fingerprinted no licence file found · pointer only · e55c5e84d71ce43a · report fixture: signature vec:list/1/float · returned list · level recorded 2026-09-22
read_word_and_its_vec prepare_data.py ran · our draft was wrong no licence file found · pointer only · 81912d07d41ad566 · report fixture: signature opened_file:BytesIO/0/?, vec_len:int/0/int · returned tuple · level recorded 2026-09-22
SeonbeomKim/TensorFlow-TextCNN community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
cost_weight_for_imbalanced_label SST_train.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant no licence file found · pointer only · 1826f73b65b1976e · report fixture: signature target:ndarray/1/int · returned ndarray · level recorded 2026-09-22
Shawn1993/cnn-text-classification-pytorch community (archive-listed) 2 samples, 2 ran (0 instrument-failed) · 0 unverified
clean_str in 51 papers mydatasets.py ran fingerprinted Apache-2.0 (permissive) · 8ebb1beb61837fb1 · report fixture: signature string:str/0/str · returned str · level recorded 2026-09-26
collate_fn in 500 papers mydatasets.py ran Apache-2.0 (permissive) · dfd16b852a1f08c1 · report fixture: signature batch:list/1/tuple, min_len:int/0/int · returned tuple · level recorded 2026-09-26
ShindongLee/Sentence_Classifier_CNN community (archive-listed) 3 samples, 2 ran (0 instrument-failed) · 1 unverified
longest_sentence preprocess.py ran MIT (permissive) · 795300f6734869ed · report fixture: signature path:str/0/str · returned int · level recorded 2026-09-26
validate in 313 papers validation.py ran MIT (permissive) · 3327aa7527520a84 · report fixture: signature classified:Tensor/2/float, answer:list/1/int · returned float · level recorded 2026-09-26
train_data_ready preprocess.py unverified MIT (permissive) · e479b1df85a99a82 · report
TobiasLee/Text-Classification community (archive-listed) 1 sample, 0 ran · 1 unverified
linear in 88 papers models/cnn.py unverified Apache-2.0 (permissive) · c970f81582bb1f97 · report
alexander-rakhlin/CNN-for-Sentence-Classification-in-Keras community (archive-listed) 2 samples, 2 ran (0 instrument-failed) · 0 unverified
build_vocab in 36 papers data_helpers.py ran MIT (permissive) · b32b5833493d607a · report fixture: signature sentences:list/1/list · returned list · level recorded 2026-09-26
pad_sentences data_helpers.py ran MIT (permissive) · 8f5471ca03ed0239 · report fixture: signature sentences:list/1/list, padding_word:str/0/str · returned list · level recorded 2026-09-26
audqhsid/-Review-CNN-for-Sentence-Classification community (archive-listed) 2 samples, 2 ran (2 instrument-failed) · 0 unverified
clean_str in 51 papers CNNforSentence/data_helpers.py ran · our draft was wrong fingerprinted no licence file found · pointer only · efe1a86fd9a2468e · report fixture: signature string:str/0/str · returned str · level recorded 2026-09-22
load_data_and_labels CNNforSentence/data_helpers.py ran · our draft was wrong no licence file found · pointer only · 24886408b62be99a · report fixture: signature positive_data_file:str/0/str, negative_data_file:str/0/str · returned list · level recorded 2026-09-22
chiemenz/AzureML-Sentiment-Classification-and-Model-Deployment community (archive-listed) 3 samples, 2 ran (0 instrument-failed) · 1 unverified
get_polarity_dictionary rating_ml_modules/featurization/word_sentiment_polarity/sentiment_polarity.py ran MIT (permissive) · 99c0dc46fd15bb10 · report fixture: signature directory_path:str/0/str · returned dict · level recorded 2026-09-26
relabel_reviews rating_ml_modules/featurization/preprocessing.py ran MIT (permissive) · 4677d82ba2d19519 · report fixture: signature review_dataframe:DataFrame/0/?, rating_2_sentiment:dict/0/? · returned DataFrame · level recorded 2026-09-26
topic_dictionary_2_dataframe rating_ml_modules/featurization/topic_modeling/topic_model.py unverified MIT (permissive) · 4f43bc8ef9323fc3 · report
ddajing/multilayer-cnn-text-classification community (archive-listed) 3 samples, 2 ran (0 instrument-failed) · 1 unverified
clean_str in 51 papers data_helpers.py ran fingerprinted Apache-2.0 (permissive) · efc3a77905da7a9d · report fixture: signature string:str/0/str, TREC:bool/0/bool · returned str · level recorded 2026-09-26
load_data in 700 papers data_helpers.py ran Apache-2.0 (permissive) · a59a82e26e9459f2 · report fixture: signature neg_file:str/0/str, pos_file:str/0/str · returned tuple · level recorded 2026-09-26
load_word2vec data_helpers.py unverified Apache-2.0 (permissive) · 3f3f92f4ce36b0a7 · report
delldu/TextCNN community (archive-listed) 5 samples, 2 ran (0 instrument-failed) · 3 unverified
label_token data.py ran fingerprinted Apache-2.0 (permissive) · 9e8508cb98e5104b · report fixture: signature x:str/0/str · returned list · level recorded 2026-09-26
text_token data.py ran fingerprinted Apache-2.0 (permissive) · 55365320fd689119 · report fixture: signature x:str/0/str · returned list · level recorded 2026-09-26
eval in 90 papers model.py unverified Apache-2.0 (permissive) · dd22129a171b50fb · report
predict in 126 papers model.py unverified Apache-2.0 (permissive) · 60169e8e6c263250 · report
train in 522 papers model.py unverified Apache-2.0 (permissive) · 619063371b6abd03 · report
gaussic/text-classification-cnn-rnn community (archive-listed) 2 samples, 1 ran (1 instrument-failed) · 1 unverified
get_time_dif run_cnn.py ran · our draft was wrong MIT (permissive) · d9e00c99bc3b43d2 · report fixture: signature start_time:float/0/float · returned timedelta · level recorded 2026-09-22
feed_data run_cnn.py unverified MIT (permissive) · 4515828165469544 · report
inspirehep/magpie community (archive-listed) 3 samples, 1 ran (0 instrument-failed) · 2 unverified
get_all_answers magpie/utils.py ran MIT (permissive) · 8dc8d3a14cde192f · report fixture: signature data_dir:str/0/str, filtered_by:NoneType/0/? · returned dict · level recorded 2026-09-26
compute_word2vec_for_phrase magpie/base/word2vec.py unverified MIT (permissive) · 7b9076aa00b98231 · report
load_from_disk magpie/utils.py unverified MIT (permissive) · 2c9841669c277781 · report
kh-kim/simple-ntc community (archive-listed) 1 sample, 1 ran (0 instrument-failed) · 0 unverified
read_text in 29 papers classify.py ran · honoured contract fingerprinted no licence file found · pointer only · aa2e11b6e900e44a · report fixture: signature max_length:int/0/int · returned list · level recorded 2026-09-22
piyush2896/CNN-Text-Classifier community (archive-listed) 14 samples, 7 ran (0 instrument-failed) · 7 unverified
assert_and_compile_args util.py ran MIT (permissive) · e46bdc997c311e22 · report fixture: signature args:Args/0/? · returned tuple · level recorded 2026-09-26
batches_generator nn/preprocessor.py ran MIT (permissive) · c62648a11b00a100 · report fixture: signature X_train:ndarray/2/float, Y_train:ndarray/1/int, batch_size:int/0/int, shuffle:bool/0/bool · returned generator · level recorded 2026-09-26
concat in 21 papers nn/layers.py ran MIT (permissive) · 4df1c013c4cd5872 · report fixture: signature tensor_list:list/1/EagerTensor, axis:int/0/int · returned EagerTensor · level recorded 2026-09-26
dropout in 34 papers nn/layers.py ran MIT (permissive) · 09cb65a28eb46830 · report fixture: signature tensor:EagerTensor/2/float, keep_prob:float/0/float, name:NoneType/0/? · returned EagerTensor · level recorded 2026-09-26
load_dataset in 276 papers util.py ran MIT (permissive) · 506f16da45fa7bd5 · report fixture: signature path:str/0/str, text_file_name:str/0/str, label_file_name:str/0/str · returned tuple · level recorded 2026-09-26
multiclass_accuracy nn/metrics.py ran MIT (permissive) · bdb736f7b92a0ad3 · report fixture: signature labels:EagerTensor/2/float, preds:EagerTensor/2/float · returned EagerTensor · level recorded 2026-09-26
train_test_split in 23 papers nn/preprocessor.py ran MIT (permissive) · 9239e6af1bbb6e07 · report fixture: signature X:ndarray/2/float, Y:ndarray/2/float, shuffle:bool/0/bool, val_size:float/0/float · returned tuple · level recorded 2026-09-26
binary_accuracy in 13 papers nn/metrics.py unverified MIT (permissive) · d51abac955ff517c · report
binary_entropy in 8 papers nn/losses.py unverified MIT (permissive) · d89fbd714915f9e7 · report
create_embedding_index util.py unverified MIT (permissive) · 26dfc0d2a5e7b9e7 · report
explained_variance in 6 papers nn/metrics.py unverified MIT (permissive) · c108960f22fe26aa · report
input nn/layers.py unverified MIT (permissive) · de36f9c1e251692d · report
rainorangelemon/TextCNN-with-Attention community (archive-listed) 4 samples, 3 ran (0 instrument-failed) · 1 unverified
clean_review clean.py ran fingerprinted Apache-2.0 (permissive) · 6e49b503ffe317d7 · report fixture: signature review:str/0/str · returned str · level recorded 2026-09-26
create_mask in 35 papers model.py ran fingerprinted Apache-2.0 (permissive) · 3c77d69fa7310478 · report fixture: signature input:Tensor/2/int, pad_id:int/0/int · returned Tensor · level recorded 2026-09-26
get_clones in 39 papers model.py ran Apache-2.0 (permissive) · 5cb79ca7ceefc156 · report fixture: signature module:callable/0/?, N:int/0/int · returned ModuleList · level recorded 2026-09-26
train in 522 papers model.py unverified Apache-2.0 (permissive) · 059bfdf0c683e8f4 · report
shagunsodhani/CNN-Sentence-Classifier community (archive-listed) 2 samples, 2 ran (0 instrument-failed) · 0 unverified
read_glove_vectors app/reader/filereader.py ran MIT (permissive) · 8dc6cef357628e1b · report fixture: signature glove_vector_path:str/0/str · returned dict · level recorded 2026-09-26
read_input_data app/reader/filereader.py ran MIT (permissive) · 0402070ef0b2c2b3 · report fixture: signature input_data_path:str/0/str · returned tuple · level recorded 2026-09-26
svjan5/CNN-for-text-classification community (archive-listed) 2 samples, 2 ran (2 instrument-failed) · 0 unverified
compute_ratio SVM/SVM-1ofVEncoding.py ran · our draft was wrong no licence file found · pointer only · 1f0857ef07d36305 · report fixture: signature poscounts:dict/0/?, negcounts:dict/0/?, alpha:float/0/float · returned tuple · level recorded 2026-09-22
tokenize in 176 papers SVM/SVM-1ofVEncoding.py ran · our draft was wrong no licence file found · pointer only · 79c1b7c0f8e87a6b · report fixture: signature sentence:str/0/str, grams:list/1/int · returned list · level recorded 2026-09-22
usama6832/attention_model community (archive-listed) 6 samples, 4 ran (2 instrument-failed) · 2 unverified
get_W process_sst1_data.py ran · our draft was wrong no licence file found · pointer only · 8e159fcba115372b · report fixture: signature word_vecs:dict/0/?, k:int/0/int · returned tuple · level recorded 2026-09-22
get_idx_from_sent mr_data.py ran · honoured contract no licence file found · pointer only · 2777a9ed50134acd · report fixture: signature sent:str/0/str, word_idx_map:dict/0/?, max_l:int/0/int, k:int/0/int, filter_h:int/0/int, pad_left:bool/0/bool · returned list · level recorded 2026-09-22
make_idx_data_cv mr_data.py ran · honoured contract no licence file found · pointer only · c3873605307a3c77 · report fixture: signature revs:list/1/dict, word_idx_map:dict/0/?, cv:int/0/int, max_l:int/0/int, k:int/0/int, filter_h:int/0/int, pad_left:bool/0/bool · returned list · level recorded 2026-09-22
make_idx_data_cv_org_text mr_data.py ran · our draft was wrong no licence file found · pointer only · 781a7c253f13fdb1 · report fixture: signature revs:list/1/dict, word_idx_map:dict/0/?, cv:int/0/int, max_l:int/0/int, k:int/0/int, filter_h:int/0/int, pad_left:bool/0/bool · returned list · level recorded 2026-09-22
load_bin_vec process_sst1_data.py unverified no licence file found · pointer only · dc39e2e56c9504b1 · report
read_su_sentiment_rotten_tomatoes process_sst1_data.py unverified no licence file found · pointer only · 85763dbc456f9a11 · report
wy-ei/Text-CNN community (archive-listed) 4 samples, 2 ran (0 instrument-failed) · 2 unverified
build_dict in 5 papers data.py ran MIT (permissive) · 31bacc027a1637a7 · report fixture: signature files:list/1/str, num_words:int/0/int · returned dict · level recorded 2026-09-26
predict in 126 papers trainer.py ran MIT (permissive) · c5beea5bfbce4121 · report fixture: signature model:callable/0/?, dl:list/1/tuple, device:device/0/? · returned ndarray · level recorded 2026-09-26
evaluate in 514 papers trainer.py unverified MIT (permissive) · 9a0485a6887c7747 · report
train in 522 papers trainer.py unverified MIT (permissive) · 346efb91ac88dfd5 · report
yschoi-nisp/AI-Grand-Challenge-2020 community (archive-listed) 14 samples, 12 ran (3 instrument-failed) · 2 unverified
swish in 258 papers
census: 14 implementations from 37 papers, 2 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32
pytorch_pretrained_bert/modeling.py ran · our draft was wrong fingerprinted MIT (permissive) · 0f786c407fb1ee4c · report fixture: signature x:Tensor/2/float · returned Tensor · level recorded, date not recorded
cached_path in 47 papers pytorch_pretrained_bert/file_utils.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · 349d780dd4a89a37 · report fixture: signature url_or_filename:str/0/str, cache_dir:str/0/str · returned str · level recorded 2026-09-26
convert_tokens_to_features BERT_total.py ran MIT (permissive) · 728fbd506ea36d0d · report fixture: signature tokens_list:list/1/dict, max_seq_length:int/0/int, tokenizer:MockTokenizer/0/? · returned list · level recorded 2026-09-26
convert_tokens_to_features_eval BERT_total.py ran MIT (permissive) · 9cf15995db9f9f06 · report fixture: signature tokens_list:list/1/dict, max_seq_length:int/0/int, tokenizer:SimpleTokenizer/0/?, overlap_size_token:int/0/int · returned tuple · level recorded 2026-09-26
filename_to_url in 54 papers pytorch_pretrained_bert/file_utils.py ran MIT (permissive) here; the stored copy is pointer only · db0ac56aaf6e35e6 · report fixture: signature filename:str/0/str, cache_dir:str/0/str · returned tuple · level recorded 2026-09-26
gelu in 308 papers
census: 43 implementations from 74 papers, 6 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32
pytorch_pretrained_bert/modeling.py ran · honoured contract fingerprinted MIT (permissive) here; the stored copy is pointer only · 40e9fee2e0b7e278 · report fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22
load_vocab in 107 papers pytorch_pretrained_bert/tokenization.py ran MIT (permissive) · fb95c4b13cdf89a2 · report fixture: signature vocab_file:str/0/str · returned OrderedDict · level recorded 2026-09-26
load_vocab in 107 papers pytorch_pretrained_bert/tokenization_morp.py ran MIT (permissive) · 90d3ee4851872058 · report fixture: signature vocab_file:str/0/str · returned OrderedDict · level recorded 2026-09-26
url_to_filename in 73 papers pytorch_pretrained_bert/file_utils.py ran · our draft was wrong fingerprinted MIT (permissive) here; the stored copy is pointer only · af64ec220e8bcdbc · report fixture: signature url:str/0/str, etag:str/0/str · returned str · level recorded 2026-09-22
warmup_constant in 30 papers pytorch_pretrained_bert/optimization.py ran · honoured contract fingerprinted MIT (permissive) here; the stored copy is pointer only · e7d542062316094a · report fixture: signature x:float/0/float, warmup:float/0/float · returned float · level recorded 2026-09-22
warmup_linear in 45 papers pytorch_pretrained_bert/optimization.py ran · honoured contract fingerprinted MIT (permissive) · c58d57224530d17e · report fixture: signature x:float/0/float, warmup:float/0/float · returned float · level recorded 2026-09-22
whitespace_tokenize in 49 papers pytorch_pretrained_bert/tokenization.py ran fingerprinted MIT (permissive) · da7295883cd7da14 · report fixture: signature text:str/0/str · returned list · level recorded 2026-09-26
convert_examples_to_tokens BERT_total.py unverified MIT (permissive) · e7ecdb123ea7ddd2 · report
warmup_cosine in 30 papers pytorch_pretrained_bert/optimization.py unverified MIT (permissive) here; the stored copy is pointer only · 35f7cddf90dd05d4 · report

Tasks

Emotion Recognition in ConversationGeneral ClassificationSentenceSentence ClassificationSentiment Analysis

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Emotion Recognition in Conversation CPED TextCNN Accuracy of Sentiment 48.90 #6 of 11 Archive leaderboard report
Emotion Recognition in Conversation CPED TextCNN Macro-F1 of Sentiment 34.37 #6 of 11 Archive leaderboard report
Sentiment Analysis SST-2 Binary classification CNN-multichannel [kim2013] Accuracy 88.1 #67 of 87 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections