<p>I believe I found the answer.
The attention model used in the <code>date-conversion-attention</code> uses the dot product alignment score and it's described in <code>Effective Approaches to Attention-based Neural Machine Translation</code>. Link: <a href="https://arxiv.org/pdf/1508.04025.pdf" rel="nofollow noreferrer">https://arxiv.org/pdf/1508.04025.pdf</a></p>
What's the attention model used in tfjs-examples/date-conversion-attention?
<p>I've been looking at tfjs examples and trying to learn about seq2seq models. During the process, I've stumbled upon the <a href="https://github.com/tensorflow/tfjs-examples/tree/master/date-conversion-attention" rel="nofollow noreferrer">date-conversion-attention</a> example.</p>

<p>It's a great example but what kind of attention mechanism is being used in the example? There is no info in <code>Readme</code> file. Can somebody point me to the paper that describes the attention that's being used here?</p>

<p>Link to attention part:
<a href="https://github.com/tensorflow/tfjs-examples/blob/908ee32750ba750a14d15caeb53115e2d3dda2b3/date-conversion-attention/model.js#L102-L119" rel="nofollow noreferrer">https://github.com/tensorflow/tfjs-examples/blob/908ee32750ba750a14d15caeb53115e2d3dda2b3/date-conversion-attention/model.js#L102-L119</a></p>