**If you still haven't figured out how GPT models work (and what the magic of ChatGPT is), I recommend you watch this video.
On one hand, it digs deep and explains everything in great detail, and on the other hand, it does so in an understandable language. I recommend it.