📖 Step 9: AI/LLM#319 / 350

Attention Mechanism

Attention Mechanism

📖One-line summary

A structure that assigns higher weights to important parts of the input to focus on them.

💡Easy explanation

How AI decides which words in a sentence matter most. In 'I met a friend in Seoul yesterday,' it pays extra attention to 'Seoul' and 'friend.'

Example

중요한 단어에 집중

나는어제서울에서친구를만났다

진할수록 = 높은 어텐션 가중치