#197 · Primary category: NLP Tools & Text Processing
chinese_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
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量