问题
I've been looking at tfjs examples and trying to learn about seq2seq models. During the process, I've stumbled upon the date-conversion-attention example.
It's a great example but what kind of attention mechanism is being used in the example? There is no info in Readme
file. Can somebody point me to the paper that describes the attention that's being used here?
Link to attention part: https://github.com/tensorflow/tfjs-examples/blob/908ee32750ba750a14d15caeb53115e2d3dda2b3/date-conversion-attention/model.js#L102-L119
回答1:
I believe I found the answer.
The attention model used in the date-conversion-attention
uses the dot product alignment score and it's described in Effective Approaches to Attention-based Neural Machine Translation
. Link: https://arxiv.org/pdf/1508.04025.pdf
来源:https://stackoverflow.com/questions/60059272/whats-the-attention-model-used-in-tfjs-examples-date-conversion-attention