The Curved Spacetime of Transformer Architectures