5 ms·
> THERE ARE THREE R'S IN STRAWBERRY Ha! This is a nice easteregg.
by djoldman 2y ago
> THERE ARE THREE R'S IN STRAWBERRY
Ha! This is a nice easteregg.
- vessenes 2y agoI appreciated that, too! FWIW, I could get Claude 3.5 to tell me how many rs a python program would tell you there are in strawberry. It didn't like it, though.
- mewpmewp2 2y agoI was able to get GPT-4o to calculate characters properly using following prompt: """ how many R's are in strawberry? use the following method to calculate - for example Os in Brocolli. B - 0 R - 0 O - 1 C - 1 O - 2 L - 2 L - 2 I - 2 Where you keep track after each time you find one character by character """ And also later I asked it to only provide a number if the count increased. This also worked well with longer sentences.
- zamadatix 2y agoAt that point just ask it "Use python to count the number of O's in Broccoli". At least then it's still the one figuring out the "smarts" needed to solve the problem instead of being pure execution.
- mewpmewp2 2y agoDo you think you'll have python always available when you go to the store and need to calculate how much change you should get?
- zamadatix 2y agoI'm not sure if your making a joke about the teachers who used to say "you won't have a calculator in your pocket" and now we have cell phones or are not aware that ChatGPT runs the generated Python for you in a built in environment as part of the response. I lean towards the former but in case anyone else strolling by hasn't tried this before: User: Use python to count the number of O's in Broccoli ChatGPT: Analyzing... The word "Broccoli" contains 2 'O's. <button to show code> User: Use python to multiply that by the square root of 20424.2332423 ChatGPT: Analyzing... The result of multiplying the number of 'O's in "Broccoli" by the square root of 20424.2332423 is approximately 285.83.
- mewpmewp2 2y agoYes, the former, trying to satirize cases where people are testing LLMs capabilities by its ability to count characters in a word, do mathematical operations token by token or otherwise. Because LLM is seeing hieroglyphs compared to character by character words that we are seeing. The true test is its ability to solve those problems using tools like somebody is using a calculator. And while it is good to learn and be good at math, it's not because of counting how much change you should receive when buying something. It's to figure out how reasoning works or how to reason in the first place.
- adverbly 2y agoI also gave this a chuckle. Background: https://www.inc.com/kit-eaton/how-many-rs-in-strawberry-this-ai-cant-tell-you.html https://www.inc.com/kit-eaton/how-many-rs-in-strawberry-this...
- DonHopkins 2y agoTherefore there are four R's in STRAWBERRIER, and five R'S in STRAWBERRIEST!