Learn Before
Concept
Attention Scoring Functions
There are major two types of attention - Those are Additive and Multiplicative attention. Those are also called Bahdanau and Luong attention based on the first authors of two papers introducing those methods:
-
Additive (Bahdanau) in here we actually use previous decoder hidden state to calculate score for the next decoder state
-
Multiplicative(Luong) - this one uses current decoder state to calculate score for the each of the decoder states
0
1
Updated 2020-10-10
Tags
Data Science