Amazon interview question

How do Transformer models work?