Code With Wilson podcast

Attention Is Just Four Operations: How Every LLM Decides What to Read

0:00
18:48
Reculer de 15 secondes
Avancer de 15 secondes
Scaled dot-product attention is not a mysterious black box. It's four elementary operations — matrix multiplication, transpose, scaling by a constant, and softmax — plus three learned projections that produce queries, keys, and values. You can write it in about a hundred lines of plain C with no autograd and no libraries. Once you see it as loops instead of magic, you reason about cost, memory, and failure modes from first principles rather than treating the model as a sealed device.

D'autres épisodes de "Code With Wilson"