First of all, check out this diagram of the Transformer architecture. This is the best general diagram I've come across. If you want to understand it, I recommend asking ChatGPT questions about it. Seriously, I've learned a lot that way!