Interview Guides

You are discussing transformer basics in the context of building LLM-powered features. A teammate asks why transformers can relate one token to another even when they are far apart in the sequence.
How do attention mechanisms work in transformer architectures?