ShawnyXiao / TextClassification-Keras

Text classification models implemented in Keras, including: FastText, TextCNN, TextRNN, TextBiRNN, TextAttBiRNN, HAN, RCNN, RCNNVariant, etc.
MIT License
816 stars 187 forks source link

请问大神:在TextAttBiRNN中怎么输出Encoder中某个词对最后预测的权重值啊? #2

Open muzier opened 5 years ago

muzier commented 5 years ago

请问大神:在TextAttBiRNN中怎么输出Encoder中某个词对最后预测的权重值啊?

ShawnyXiao commented 5 years ago

您可以 google 一下“attention 可视化”