6/29
Part 1 of 5 · From words to vectorsLearn and do
Why the positions matter
Attention mixes tokens, but it has no idea where any token is. Without positions and without the mask, it sees each sentence as a bag of words: dog bites man and man bites dog hold the same three vectors, just in a different order.
No positions and no mask. Attention reads dog bites man, then man bites dog. What comes back?
Pick an answer above to see the rest
You drop pos_emb and train on real text. What do you see?
Pick an answer above to see the rest