Skip to content

A PyTorch implementation of the document classification by Hierarchical Attention Network

Notifications You must be signed in to change notification settings

jaehunjung1/Hierarchical-Attention-Network

Repository files navigation

Hierarchical-Attention-Network

HAN implemented in Pytorch, along with attention visualization

preview_img

usage
  • Download and add glove.6B.100d.txt into ./data/glove
  • Run python train.py <args>
  • Run python test.py to visualize attention

About

A PyTorch implementation of the document classification by Hierarchical Attention Network

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published