QuestionQ26

VerifiedFoundational Concepts of Generative AI and Multimodal AI

What is the purpose of the attention mechanism in large-language models?

Explanation

Attention assigns context-dependent weights to input tokens and uses them to combine their value representations. This lets the model incorporate different parts of the sequence when processing a token. (ibm.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!