implementation of decoder-only GPT model for text generation
implementation of text generation model based on Andrej Carpathy's tutorial