I think they are about the same.
Both work about as well as autocorrect
(Even spam could be encoded into those two tokens via binary or whatever, it still wouldn't because it's predicting a classification, and not the next sybmol; i.e. not simply the next bit in a after a string prefix, but a 0 or 1 value indicating whether the bit string is spam, which comes from an asserted external judgment.)
It's all the same sort of thing though: some functions trained to predict a value associated with an input.
There is a massive qualitative and quantitative gap between the two. Even if you had a real token predictor for the word spam, you would need a thousand of these to touch LLM capability. But it's not a real predictor. It's not locational. It's something vastly weaker.
> It's all the same sort of thing though: some functions trained to predict a value associated with an input.
Now you made it even worse. If not for the word 'trained' this would be every program. If two programs fall under the umbrella of machine learning in any way, that kind of logic treats them the same. What would you consider a "different kind of AI"? Your definition there fits basically the entire field.