I haven't heard anyone describe the phenomenon clearly, but I expect it is a challenge with reasoning over both intent of the prompt and specific token IDs.
I haven't heard anyone describe the phenomenon clearly, but I expect it is a challenge with reasoning over both intent of the prompt and specific token IDs.
Having said that, here are the words ChatGPT gave me for the same prompt:
Magi Nagi Sagi Yagi Adagi Galagi Tegagi Sigikagi Tagi Wagagi
It missed Unagi, surprisingly. But it is still leagues ahead of the response primordialsoup got from Lamini.
But my point was that ChatGPT, like any tokenized LLM, doesn't even have the concept of letters. The prompt "how many e's in this sentence" is rendered as the tokens [4919, 867, 304, 338, 287, 428, 6827]. There just isn't a pathway for it to consider the letters that make up those tokens.
I'm a little surprised it did that well on your prompt, which is rendered as [10919, 2456, 886, 287, 556, 72]. The interesting thing here is that 556 = " ag" (with leading space) and 72 = "i". So I'm not sure how got to those words. "Wagagi" is tokens [54, 363, 18013], so somehow it is seeing that token 18013 is what you get when you combine 556 and 72? That seems really weird.
I'd love clarification from someone deeper into LLMs and tokenization.
Intuitively I think there's an abstraction barrier there, but I'm not positive. It feels like asking us to list all of the words that trigger particular neurons.
"6769545085823578960 + 16027170449476717488"
ChatGPT said the answer is 22796715535300296448. It got the correct answer even though the problem wasn't in its training data.
This doesn't mean it's always correct, or can be trusted without verification.
There are 7 instances of the letter 'e' in the sentence: "Try asking chatGPT to count how many e's are in a sentence."
another one:
The words with the letter 'e' from the sentence "Try asking chatGPT to count how many e's are in a sentence" are:
asking
sentence
and another, notice the last one:Here are some English words containing three instances of the letter 'e':
Nevertheless
Extreme
Relevance
Precedence
Residence
Easement
Demeanor
Please note that this is not an exhaustive list, but these examples should give you an idea of words with three 'e's in them.What surprising here is that it's still capable of writing hundred lines of python code..
It was never specified "exactly 3".