179 questions
No questions match those filters.
← All questions
Training & Fine-tuningMedium· Attention Mechanisms· Architecture Design
Compare QK-norm and soft-capping. When would you choose...
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 plansQK-norm is generally preferred because it addresses the root cause, adds minimal parameters, improves perplexity, and enables higher learning rates. Soft-capping is simpler because it requires no learned parameters and can be retrofitted into existing implementations without changing projection layers. However, soft-capping can worsen perplexity due to tanh distortion of logit ordering. Choose QK-norm for greenfield runs and soft-capping if you need to stabilize an existing architecture with minimal code changes.