Core Machine Learning and AI Knowledge
20% of the examWhat this topic covers
Apply machine learning and deep learning methods to multimodal tasks, including prompt design, transfer learning, and model evaluation. Keep sensitive similarity and loss calculations stable, and consider efficiency and trust.
Why keep similarity logits and temperature scaling in float32 when encoders run in mixed precision?
Softmax and temperature scaling are sensitive to overflow and underflow, so those steps stay in float32. Reduced-precision encoder operations can stay enabled to save memory and speed up training. Only the loss-related arithmetic is kept at full precision, which keeps training stable without giving up most of the gains.