AI Grimoire

Architectures / ffn

Feed-forward

Two thirds of a transformer’s parameters sit in a block that looks at one position at a time. It is where most of the model’s stored knowledge appears to live, and where gating turned out to be worth the extra matrix.

1 entry.

Entries

01.04.1
SwiGLUstandard
Gated feed-forward block; a Swish gate multiplied into a linear branch.
O(n·d²)