danielegrattarola/twitter-sentiment-cnn
An implementation in TensorFlow of a convolutional neural network (CNN) to perform sentiment classification on tweets.
Implements a single-layer CNN with parallel 1D convolutions across configurable filter sizes, word embeddings, and dropout regularization, with TensorBoard integration for visualizing the computation graph. Includes automated dataset preprocessing (CSV parsing, vocabulary building), session checkpointing for model persistence, and protobuf export capabilities. Provides fine-grained control via command-line flags for architecture parameters (embedding size, filter counts, batch size) and training dynamics (epochs, validation frequency), enabling experimentation across different configurations.
158 stars. No commits in the last 6 months.
Stars
158
Forks
51
Language
Python
License
—
Category
Last pushed
Feb 08, 2018
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/danielegrattarola/twitter-sentiment-cnn"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
IBM/MAX-Text-Sentiment-Classifier
Detect the sentiment captured in short pieces of text
jerbarnes/semeval22_structured_sentiment
SemEval-2022 Shared Task 10: Structured Sentiment Analysis
Lan-ce-lot/pythorch-text-classification
对豆瓣影评进行文本分类情感分析,利用爬虫豆瓣爬取评论,进行数据清洗,分词,采用BERT、CNN、LSTM等模型进行训练,采用tensorboardX可视化训练过程,自然语言处理项目\A...
latishab/turnsense
A lightweight end-of-utterance detection model fine-tuned on SmolLM2-135M, optimized for...
pabitralenka/Customer-Feedback-Analysis
Multi Class Text (Feedback) Classification using CNN, GRU Network and pre trained Word2Vec...