← all repositories

dennybritz/cnn-text-classification-tf

A Tensorflow implementation of a convolutional neural network for text classification based on Kim's 2014 paper.

5.7k stars Python ML Frameworks
cnn-text-classification-tf
Velocity · 7d
+1.5
★ / day
Trend
steady
star history

This repository provides a simplified implementation of a CNN for sentence classification in Tensorflow. The model uses convolutional layers with different filter sizes to capture n-gram features from text, applies dropout for regularization, and performs classification. It includes training and evaluation scripts with configurable hyperparameters like embedding dimension, number of filters, and dropout rate.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.