Chapter 7: Learning Uncertainty Estimation with Masking & Foundation Models