A from-scratch Transformer language model with trainable multi-head attention, explicit backpropagation, and numerical gradient checks using Python and NumPy.