Attention Mechanisms and Transformers