AICurious Logo

What is: SwiGLU?

SourceGLU Variants Improve Transformer
Year2000
Data SourceCC BY-SA - https://paperswithcode.com

SwiGLU is an activation function which is a variant of GLU. The definition is as follows:

SwiGLU(x,W,V,b,c,β)=Swish_β(xW+b)(xV+c)\text{SwiGLU}\left(x, W, V, b, c, \beta\right) = \text{Swish}\_{\beta}\left(xW + b\right) \otimes \left(xV + c\right)