Index Ai Academy
Glossary · Phase 5 · Transformers

SwiGLU

A feed-forward layer design used in Llama-style models, where one set of numbers acts as a gate that turns another set up or down.

Try it now

Communicate, then compute, with a skip connection around each. Stack dozens of these and you have a GPT.

Learn it properly

The transformer block · Attention, MLP, residuals and norms together. About 35 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write