For the visual learners, here's a classic intro to how LLMs work: https://bbycroft.net/llm