Attention is the part of a transformer-based language model that helps represent context and relationships among words or tokens. In practical terms, it helps define how strongly connections influence the model’s outputs—less mind reading, more learned weighting. section 9.1
Keep the moving parts straight:
- Weights represent the strength or importance of connections and are adjusted during training. section 9.1
- Attention works alongside encoding, embeddings, hidden layers, training data, and decoding in an LLM. section 9.1



























