QuestionQ26Verified/Foundational Concepts of Generative AI and Multimodal AICopy linkReport a problemAsk AstroTutorSave questionWhat is the purpose of the attention mechanism in large-language models?ATo measure the importance of the words in the output sequence.BTo assign weights to each word in the input sequence.CTo determine the order in which words are generated.DTo capture the order of the words in the input sequence.Show AnswerAnswerExplanationAttention 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 moreWhat is an attention mechanism?Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion