1 Ateintion理解
输入句子每个单词对于生成序列的某个单词有多大的影响程度
论文A Neural Attention Model for Sentence Summarization使用注意力机制来生成摘要,可以看下面这个图来帮助理解注意力。
Encoder-Decoder框架的输入句子 X X X是: “ r u s s i a n / d e f e n s e / m i n i s t e r / i v a n o v / c a l l e d / s u n d a y / f o r / t h e / c r e a t i o n / o f / a / j o i n t / f r o n t / f o r / c o m b a t i n g / g l o b a l / t e r r o r i s m ” “russian / defense / minister/ ivanov/ called / sunday / for /the /creation /of /a/ joint/ front /for /combating/ global/ terrorism” “russian/defense/minister/ivanov/called/sunday/for/the/creation/of/a/joint/