Jump to content

Gaussian error linear unit (GeLU)

From Wikibase
Revision as of 10:05, 17 November 2026 by Rongzhou (talk | contribs) (Created page with "Category:Activation function Gaussian error linear unit is an activation function liked for its smoothness. == Definition == $$ \operatorname{GELU}(z)=z\,\Phi(z) $$ where $$ \Phi(z)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{z} e^{-t^2/2}\,dt $$ is the standard normal cumulative distribution function. == Application == GELU is commonly used in Transformer feed-forward sub-layers.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Languages: English · français · Esperanto

Gaussian error linear unit is an activation function liked for its smoothness.

Definition

$$ \operatorname{GELU}(z)=z\,\Phi(z) $$

where

$$ \Phi(z)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{z} e^{-t^2/2}\,dt $$

is the standard normal cumulative distribution function.

Application

GELU is commonly used in Transformer feed-forward sub-layers.