I'm going to link this at the current revision, so that it makes sense in the future: https://en.wikipedia.org/w/index.php?title=Transformer_%28deep_learning%29&oldid=1333135164
Read the first line from the link, I'll add it here if you're lazy: "In deep learning, the transformer is an artificial neural network..."
Do you know what "GPT" stands for? "Generative Pre-trained Transformers"
What were you thinking LLMs use? They're literally just neural networks stacked as much as possible. That's why they require all of those data centers, because their only solution to the problem is adding more neural nets and more data which means more hardware, at this point it's borderline brute forcing. Sure, you can mention the """clever""" tricks they use to "tokenize" words at the beginning, but that's still a neural net in itself. Don't get confused by their terminology, every single bit of the "technology" has impressive sounding names until you see how they actually work and smack your forehead so hard it leaves a mark forever.