BF16
Sixteen-bit float that keeps FP32's exponent range for training stability.
Aperçu
BF16 is a sixteen-bit format that trades mantissa precision for the same exponent range as FP32. It solves the problem that FP16 overflows and underflows during training, which makes it fragile without loss scaling. It exists because for gradient accumulation the range matters more than the precision, and it has become the default training format.
Graphe des technologies
Comment BF16 se rattache au reste de la pile.
Appliqué à
- Pretraining technique Techniques BF16 used for Pretraining High ✓ source