AI engineering
Attention
Attention visualiser: queries, keys and values, Q·Kᵀ scaled by √d, the causal mask, softmax row by row, weighted values and two-head attention as a heatmap.
AI engineering
Attention visualiser: queries, keys and values, Q·Kᵀ scaled by √d, the causal mask, softmax row by row, weighted values and two-head attention as a heatmap.