vietnh1009/Hierarchical-attention-networks-pytorch

Hierarchical Attention Networks for document classification

42
/ 100
Emerging

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.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 8 / 25
Community 24 / 25

How are scores calculated?

Stars

406

Forks

107

Language

Python

License

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.