SwiGLU
Quick definition
A gated feedforward activation that combines a Swish-like nonlinear path with a separate learned gating path.
A gated feedforward activation that combines a Swish-like nonlinear path with a separate learned gating path.
SwiGLU is used in some modern transformer feedforward blocks and is distinct from standard ReLU or GELU activations.
Example: A transformer replaces a conventional two-layer FFN activation with a SwiGLU block.
Common use cases: Large language model design, activation choices, and transformer training.
Examples
- A transformer replaces a conventional two-layer FFN activation with a SwiGLU block.
Use cases
- Large language model design, activation choices, and transformer training.
Frequently asked questions
What is SwiGLU?
A gated feedforward activation that combines a Swish-like nonlinear path with a separate learned gating path.
What should I know about SwiGLU?
SwiGLU is used in some modern transformer feedforward blocks and is distinct from standard ReLU or GELU activations.