15/25
Part 3 of 6 · The maskLearn and do

Keep the diagonal: each position sees itself

One more detail decides whether the first row works at all.

Predict

A mask that also hides the diagonal leaves q1 with every score at minus infinity. What does its softmax give?

Pick an answer above to see the rest