vietnh1009/Hierarchical-attention-networks-pytorch
Hierarchical Attention Networks for document classification
Implements two-level attention mechanisms at word and sentence levels to capture document structure, with GloVe word embeddings (50-300d) initialized in the embedding layer rather than default random initialization. Built on PyTorch with early stopping regularization and TensorBoard integration for training visualization. Includes a web demo interface and pre-trained models evaluated across eight datasets (AG News, DBPedia, Yelp, Amazon, Yahoo Answers) with configurable batch size, learning rate, and embedding dimensions.
406 stars. No commits in the last 6 months.
Stars
406
Forks
107
Language
Python
License
—
Category
Last pushed
Oct 23, 2021
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/vietnh1009/Hierarchical-attention-networks-pytorch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
kk7nc/HDLTex
HDLTex: Hierarchical Deep Learning for Text Classification
richliao/textClassifier
Text classifier for Hierarchical Attention Networks for Document Classification
RandolphVI/Hierarchical-Multi-Label-Text-Classification
The code of CIKM'19 paper《Hierarchical Multi-label Text Classification: An Attention-based...
yumeng5/LOTClass
[EMNLP 2020] Text Classification Using Label Names Only: A Language Model Self-Training Approach
sgrvinod/a-PyTorch-Tutorial-to-Text-Classification
Hierarchical Attention Networks | a PyTorch Tutorial to Text Classification