179 questions
No questions match those filters.
← All questions
LLM FoundationsMedium· Activation Functions
Would you ever use ReLU in a new architecture? When?
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansFor standard pre-training with a modern stack, there is no compelling reason to choose ReLU over SwiGLU. However, it may be used if there is a specific need for sparsity-based inference acceleration via squared ReLU, or if the deployment environment is highly constrained and lacks the necessary kernels for more advanced activation functions.