Incognition logo
Home
Learn
Practice
Leaderboard
0
VisualizationsSequences, Language & Attention

Feed-Forward Sublayer

Attention can only mix words by averaging them. Click What is missing? to see what the feed-forward layer adds: reshaping each vector in a way no average can.

what attention can do
weighted averages of other positions

Averaging, however cleverly weighted, is still averaging. Stacking pure attention would never give you a non-linear model.

Customize