Solved by vdw in post #2 
              
              
                I find this Seq2Seq example more useful. As far as I can tell, it expands on the linked tutorial by using different attention mechanisms (Bahdanau & Luong). 
The tutorial uses only the Bahdanau approach.