This is the best article I have read so far explaining the transformer architecture. The clear and intuitive explanation can’t be praised enough.
Note that the teacher has a Machine Learning course with video lectures on youtube that he references throughout the article : http://www.peterbloem.nl/teaching/machine-learning