vietnh1009/Hierarchical-attention-networks-pytorch
A PyTorch implementation of the Hierarchical Attention Networks architecture for text/document classification tasks.

This repository provides a PyTorch implementation of the Hierarchical Attention Networks model described in the paper for document classification. The model uses hierarchical attention mechanisms at word and sentence levels to weight important content. It supports training on large-scale datasets like DBpedia, Yahoo Answers, and Amazon Reviews, includes tensorboard logging, pre-trained word embeddings (GloVe), and provides a simple web app for testing trained models.