Advertisement
Beginner Natural Language Processing, Attention Mechanisms

What is Attention Mechanisms

Short answer

An attention mechanism allows a model to focus more on the most relevant parts of the input when producing each part of the output.

Save Natural Language Processing mock interview
Advertisement
AModel answer
An attention mechanism allows a model to focus more on the most relevant parts of the input when producing each part of the output.
Real-world example
A translation model uses attention to focus on the correct source word in a sentence when generating each word of the translated output.
Likely follow-ups
  • What is Natural Language Processing, How is Attention Mechanisms evaluated in practice, What tools are commonly used for Attention Mechanisms
Related topics