WEBVTT

00:00:00.000 --> 00:00:05.094
This teaching page starts from authored affinity tables, not trained query and

00:00:05.094 --> 00:00:10.188
key vectors. For query it, the coreference table gives animal point six

00:00:10.188 --> 00:00:15.281
five and tired point one eight. At temperature one, the log scores

00:00:15.281 --> 00:00:20.375
followed by softmax normalize those base weights. In this illustrative two-key subset

00:00:20.375 --> 00:00:25.469
alone, probabilities are about seventy-eight point three and twenty-one point seven percent.

00:00:25.469 --> 00:00:30.563
The actual page includes every token, so its full probabilities differ.

00:00:30.563 --> 00:00:34.918
The source divides log affinity by temperature before exponential softmax. At temperature

00:00:34.918 --> 00:00:39.273
point five, this is equivalent to squaring the affinities, yielding point four

00:00:39.273 --> 00:00:43.628
two two five and point zero three two four. The two-key illustration

00:00:43.628 --> 00:00:47.983
sharpens to about ninety-two point nine and seven point one percent. Bars

00:00:47.983 --> 00:00:52.338
share eight hundred pixels per probability. This is authored toy arithmetic, not

00:00:52.338 --> 00:00:56.693
measured model understanding.

00:00:56.693 --> 00:01:01.133
The syntactic head mixes forty percent of the authored affinity with sixty

00:01:01.133 --> 00:01:05.574
percent of a distance rule. Its positional term is one divided by

00:01:05.574 --> 00:01:10.014
distance plus one point two. At distance zero, sixty percent of that

00:01:10.014 --> 00:01:14.455
term contributes point five. At distance three, it contributes about point one

00:01:14.455 --> 00:01:18.895
four two nine. Here bars use one thousand pixels per contribution. The

00:01:18.895 --> 00:01:23.336
context head instead adds a uniform component. These hand-built perspectives are not

00:01:23.336 --> 00:01:27.776
learned neural attention heads.
