Deep learningUnder construction
FlashAttention
This page is not written yet. Its place on the map is ready: where it lies, what it rests on, and what leads from it.
What it rests on
- AttentionDeep learningAttention lets each position of a sequence take in information from other positions. Each position sends out a query; every position it may read offers a key and a value; the better a key matches the query, the more of that position’s value it receives. In a language model a position may read only itself and the positions before it.
- SoftmaxDeep learningRaise e to every score and divide by the total: positive numbers that add up to 1 and keep the order of the scores; only the gaps between scores count.