How many e's are in strawberry?
smileplease.mataroa.blog
smileplease.mataroa.blog
When I asked gemini, it printed the right answer, and it also had a button: "Show code", which I clicked: word = "strawberry" count = word.lower().count('e') print(f"The number of 'e's in '{word}' is {count}.")
Now, the followup (from a comment below): "How many straws in strawberry": there are 0 "straws" (again with the Python code). Similarly, "How many straw in strawberry": 1 straw (again with the Python code, showing it's just trying to do string matching).
Next: Q: "When I saw straw, I mean the object you use to drink liquids through. How many straw in strawberry?"
A: "While the word strawberry contains the letters to spell "straw" exactly one time, there are zero actual drinking objects inside the fruit. Trying to use a berry as a straw would mostly just result in a very messy snack!"
A: One.
Look into how LLMs work and it's pretty clear why these character counting scenarios often fail if not invoking Thinking/Python Scripting.
The thing which I find interesting though is that even if you don't involve Thinking, the r's in strawberry test always succeeds
https://chatgpt.com/s/t_69f85fb01d8881918016f2ceb3d1f314 & https://chatgpt.com/c/69f85e1d-25e8-8320-ba10-2dbe5857fc74
https://chatgpt.com/share/69f85fd6-4534-8322-a3f9-a06f3e26ec...
Now one can say that this patch was added as the r in strawberry got added into training test but I remember some comments at that time where it suddenly changed the answers as it started getting more humiliating for OpenAI as everyone started to pick this knowledge up and this might be the same reason why it says that it has three e's so many times because it tries to always say the three r's BUT that is just my opinion (which I don't wish to present as fact)
I think that the issue I have is that the people working in AI also present it sometimes as the holy grail when it has some clear flaws and they gloss over it.
If you found this result unsurprising, good for you!, but I feel like even as someone who spent a lot of time in the internet with LLM's, I didn't expect it because I thought that it was a completely solved problem in all LLM's, and I just shared this with everyone.
Have a nice day :-D
And even if you haven't and have just read this comment, that's completely fine too and honestly I don't know why really, but I want to just say that I love you all and I love this community and yes it has its problems but I love you all and I wish you all to have a nice day/night!
Going to go to sleep now. Bye!