ShawnyXiao / TextClassification-Keras

Text classification models implemented in Keras, including: FastText, TextCNN, TextRNN, TextBiRNN, TextAttBiRNN, HAN, RCNN, RCNNVariant, etc.

Repository from Github https://github.comShawnyXiao/TextClassification-KerasRepository from Github https://github.comShawnyXiao/TextClassification-Keras

How to get attention weights vector in Han?

rahmanjalayer opened this issue · comments

Hi,
Thank you for these codes.
I wonder if it is possible to get attention weights vector on word-level and also sentence-level attention in Han model?
I want to plot these weights vector after predicting its category.