textClassifier and a-PyTorch-Tutorial-to-Text-Classification
These are ecosystem siblings—both are independent educational implementations of the same hierarchical attention network architecture for document classification, with the first being a ready-to-use classifier and the second being a tutorial-oriented codebase for learning the approach.
About textClassifier
richliao/textClassifier
Text classifier for Hierarchical Attention Networks for Document Classification
Implements three distinct architectures—hierarchical attention networks with word and sentence-level attention, CNNs with convolutional filters, and bidirectional LSTMs with attention mechanisms—all built on Keras. Supports interpretability by extracting attention weights to identify important words for predictions. Compatible with pre-trained GloVe embeddings and includes training pipelines on standard datasets like IMDB reviews.
About a-PyTorch-Tutorial-to-Text-Classification
sgrvinod/a-PyTorch-Tutorial-to-Text-Classification
Hierarchical Attention Networks | a PyTorch Tutorial to Text Classification
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work