Shawn1993/cnn-text-classification-pytorch
CNNs for Sentence Classification in PyTorch observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 73
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3491
- days_rel: n/a
- days_push: 163
- n_releases_24m: 0
Adoption not part of the score
1043 stars · 270 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch implementation of Kim's CNN architecture for sentence classification, reproducing results from the paper 'Convolutional Neural Networks for Sentence Classification'. It trains CNN text classifiers on datasets like MR and SST via a command-line interface.
Use cases
- train a CNN text classifier in pytorch
- reproduce Kim's sentence classification paper results
- classify sentences into sentiment categories
- learn how CNN text classification works
- benchmark text classification on MR and SST datasets
When to choose
- you want a faithful PyTorch reproduction of Kim's CNN sentence classification model
- you need a simple, dependency-light text classification baseline
- you want to experiment with CNN hyperparameters for text classification
When to avoid
- you need transformer-based or state-of-the-art text classification
- you want a production-ready text classification service
- you need multi-label or long-document classification
Facets
library · maturity active
machine-learning nlp deep-learning deep-learning machine-learning python cli pytorch cnn text-classification sentence-classification research-reproduction natural-language-processing gpu
1 source
- readme: https://github.com/Shawn1993/cnn-text-classification-pytorch · fetched 2026-08-28 · c699044fd1f2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Shawn1993/cnn-text-classification-pytorch | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="Shawn1993/cnn-text-classification-pytorch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem