LLMs do not match patterns. They predict one statistically most likely token (only one!) given a history of some N previously known tokens.
> statistically most likely
Isn't that pattern matching essentially?
afaik before the final sampling, every "next" token has a probability, so theoretically it could select the 10 most likely tokens (based on some kind of sampling algorithm), but you'd end up with exponentially many output-sequences, so nobody does that.
Is that prediction not based on matching previous patterns, whose frequencies are more or less encoded in the weights?