What does the transformer feed-forward block do?
Reveal the answer and explore the explanation.
10HardWhat does the transformer feed-forward block do?
Answer
Hard
What does the transformer feed-forward block do?
Answer
Position-wise nonlinear transformation after attention in a standard transformer block.
Practical example
Expand and project token features independently.
Reference: Further reading ↗