Skip to content

Attention

No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.

The part of a transformer that decides, for each token, which other tokens in the context matter to it most. It is how a model links a pronoun to what it refers to, even far away. Its cost grows with the length of the context.

In Arabic

آلية الانتباه

الجزء من المحوِّل الذي يقرر لكل رمز أي الرموز الأخرى في السياق تهمه أكثر. بها يربط النموذج الضمير بما يعود عليه حتى لو بعُد. وتكلفتها تكبر مع طول السياق.

Also known as: attention mechanism، self-attention

See also

All terms