← Back to LLM Fundamentals

How LLMs Think

How does attention work, without the maths overload

Attention is how a model decides which words matter to each other. Every word listens to every other word and turns the volume up on the ones that change its meaning.

Start by reading the article for this lesson.

Read the articleOpens in a new tab

Check what you learned

Answer all 3 questions. You need at least 2 right to pass.

1. What is attention, in plain terms?

2. In the example sentence "the cat sat on the mat", what does "sat" listen to most after itself?

3. What does softmax do?