AI engineering glossary · Deep learning core

What is GELU?

GELU (also called Gaussian error linear unit): The Gaussian error linear unit, a smooth activation that multiplies the input by the probability that a standard normal variable is below it: x * Phi(x). Unlike ReLU it curves gently near zero, and it is widely used in transformer models such as BERT and GPT.

Level: intermediateTopic: Deep learning core

GELU: an example

GELU(1) is about 0.84, while GELU(-1) is about -0.16.

Related terms

More Deep learning core terms

Where you learn it

GELU is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.