document classification using LSTM + self attention
Pytorch implementation of LSTM classification with self attention. See A STRUCTURED SELF-ATTENTIVE
SENTENCE EMBEDDING
Some resutls -> my blog post
training
python imdb_attn.py
visualize attention
python view_attn.py
results
./attn.html: label \t pred label \t sentence with attention()