Two things can be true at once. chatGPT can lack intelligence and it is also doing something more complex then just predicting the next word. It has to embed the words, e.g. assign a vector which represents the words meaning. It has its own int