What does the word “it” look at?

Attention lets each word reach back and pull meaning from earlier words. Watch where “it” looks — and how that shifts with the ending.

Sentence ending:

Illustrative weights — real attention values are learned during training — but they capture the famous pattern: “it” attends back to the nouns it might refer to (here chicken and road), and context tips the balance.