The codebase currently use Gaussian Error Linear Units as the activation function (as opposed to ReLU).
We can implement different activation functions to compare and also newer ones like SwiGLU used in models like Llama 3.1. See GLU Variants Improve Transformer
The codebase currently use Gaussian Error Linear Units as the activation function (as opposed to ReLU).
We can implement different activation functions to compare and also newer ones like SwiGLU used in models like Llama 3.1. See GLU Variants Improve Transformer