SwiGLU's Dominance in Modern LLMs

SwiGLU has become the standard activation in feed-forward networks for many state-of-the-art LLMs, including Meta's LLaMA, LLaMA 2, LLaMA 3, Google's PaLM, PaLM 2, and Mistral models. Its adoption is driven by consistent performance gains, improved training dynamics, and better scalability, outperforming earlier activations like GELU and ReLU, even when accounting for comparable parameter counts.

Sources

Open the full topic