← all repositories

vietnh1009/Hierarchical-attention-networks-pytorch

A PyTorch implementation of the Hierarchical Attention Networks architecture for text/document classification tasks.

406 stars Python Language Models
Hierarchical-attention-networks-pytorch
Velocity · 7d
+0.2
★ / day
Trend
steady
star history

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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.