#197 · Primary category: NLP Tools & Text Processing

chinese_text_cnn

chinese-text-classification nlp text-classification text-cnn

TextCNN Pytorch实现 中文文本分类 情感分析

Project last updated:12/30/18

GitHub Stars

642

Forks

115

Contributors

1

License

Other

Why we included this project

This is a compact PyTorch implementation of the TextCNN architecture from Kim's 2014 sentence classification paper, built for Chinese sentiment analysis. It is a good fit if you want to see how the model behaves on Chinese text without wading through a larger framework. The repo covers four embedding setups, random initialization, static pretrained vectors, fine-tuned vectors, and a multichannel mix, and the README reports test accuracy for each so you can compare them directly. The code also handles the surrounding plumbing: jieba tokenization, loading pretrained Chinese word vectors, and early stopping during training. For a simple Chinese classifier, it works as a readable baseline before moving to transformer-based models, and it is a clear teaching example of how convolutional filters operate over embedded text.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category