Question 1
To increase the numerical precision of the attention scores.
To reduce the overall computational cost of the attention mechanism.
To ensure that the sum of the attention scores for each query equals 1.
To avoid numerical issues and loss of gradients during training.