yongzhuo/Keras-TextClassification
中文长文本分类、短句子分类、多标签分类、两句子相似度(Chinese Text Classification of Keras NLP, multi-label classify, or sentence classify, long or short),字词句向量嵌入层(embeddings)和网络层(graph)构建基类,FastText,TextCNN,CharCNN,TextRNN, RCNN, DCNN, DPCNN, VDCNN, CRNN, Bert, Xlnet, Albert, Attention, DeepMoji, HAN, 胶囊网络-CapsuleNet, Transformer-encode, Seq2seq, SWEM, LEAM, TextGCN
Provides modular base classes for embeddings (character/word/sentence-level) and graph networks that allow models to inherit shared preprocessing and architecture components, reducing implementation complexity. Supports fine-tuning of pre-trained transformers (BERT, XLNet, Albert) alongside classical architectures, with built-in compatibility for multiple Chinese embedding sources including Google BERT, Huawei Albert, and Harbin Institute XLNet variants. Targets Keras/TensorFlow stack with end-to-end examples for multi-label classification, sentence similarity, and Chinese-specific NLP tasks.
1,809 stars and 13 monthly downloads. No commits in the last 6 months. Available on PyPI.
Stars
1,809
Forks
401
Language
Python
License
MIT
Category
Last pushed
Jun 17, 2024
Monthly downloads
13
Commits (30d)
0
Dependencies
12
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/yongzhuo/Keras-TextClassification"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
Priberam/SentimentAnalysis
Sentiment Analysis: Deep Bi-LSTM+attention model
dirkhovy/text_analysis_for_social_science
Code for the CUP Elements on text analysis in Python for social scientists
melihbodur/Text_and_Audio_classification_with_Bert
Text Classification in Turkish Texts with Bert
walter-lead/toxic_comments
CNN and LSTM multi-label text classification
RaffaeleGalliera/pytorch-cnn-text-classification
Convolutional Neural Network (CNN) for text classification implemented with PyTorch and TorchText