majing2019 / keras_bahdanau

Implementation of Bahdanau Attention in Keras.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keras Bahdanau Attention

This project implements Bahdanau Attention mechanism through creating custom Keras GRU cells.

Goals

  • Have a Keras compatible Bahdanau Attention mechanism.
    • Simple and comprehensible implementation.
    • Re-usable and intuitive Bahdanau Decoder.
  • Produce a guiding documentation for comprehending:
    • Implementations of Keras recurrent cells.
    • Custom Keras cell implementation.
    • Intuition behind the proposed Bahdanau Mechanism implementation.

References

[1] NEURAL MACHINE TRANSLATION BY JOINTLY LEARNING TO ALIGN AND TRANSLATE

About

Implementation of Bahdanau Attention in Keras.


Languages

Language:Python 69.4%Language:Jupyter Notebook 30.6%