image.png

https://www.ionio.ai/blog/a-deep-dive-into-the-function-of-self-attention-layers-in-transformers