architectures
Self-Attention
A mechanism where each element in a sequence attends to all other elements in the same sequence to compute a representation. Self-attention allows the model to capture relationships between words regardless of their distance in the text.
In practice
In the sentence 'The animal didn't cross the street because it was too tired,' self-attention helps the model understand 'it' refers to 'animal.'