›Building Large Language Models from Scratch›Preparing Text Data and Understanding Attention Mechanisms