Big technical books, one short video at a time.

Build a Large Language Model (From Scratch) · Chapter 3 · Video 6 of 14 · 8:56

How does "it" know what it refers to?

"The trophy didn't fit in the suitcase because it was too big." Change "big" to "small" and "it" changes meaning. To GPT-2 the sentence is 14 tokens; "trophy" sits 8 tokens before "it", and the deciding word comes after it. How can one token reach the others and decide which ones matter?

Based on Build a Large Language Model (From Scratch) by Sebastian Raschka.