Building a Transformer Based LLM from Scratch using PyTorch