I find this Seq2Seq example more useful 8. 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.