attention
FDE interview questions tagged attention, across every topic.
6 questions · 2 unlocked for you
Concepts behind "attention"
The curriculum that explains the ideas these questions test.
Foundational
The Transformer, IntuitivelyThe transformer is the architecture behind every modern large language model, built on self-attention that lets each token look at every other token in parallel. FDE loops do not want the math; they want you to explain why attention beat RNNs, what decoder-only means, and why context length is expensive, in plain language an exec or a teammate can follow.🧠 Foundations of LLMs & GenAI
Core
Attention and Self-AttentionAttention computes a weighted sum of value vectors, where the weights come from how well each token's query matches every other token's key. Self-attention applies this within one sequence so each token can pull from all the others, and the all-pairs comparison is why cost grows with the square of sequence length. FDE loops probe it because it explains context limits, latency, and the KV cache in one mental model.🧠 Foundations of LLMs & GenAISign in
