• rdri@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 day ago

        It didn’t, I just wanted a short reply. Though it failed when I asked again in the same chat. But when asked to split the word to 2 parts it became sure that the correct answer is 3.

        Here is the fun part

        Certainly! Let’s split “strawberry” into two equal parts and count the 'r’s in each:

        1. First half: “strawb”
          Letters: S, T, R, A, W, B
          'r’s: 1 (at position 3)

        2. Second half: “erry”
          Letters: E, R, R, Y
          'r’s: 2 (at positions 2 and 3)

        Now, summing them: 1 (first half) + 2 (second half) = 3 'r’s.

        Wait, this contradicts my earlier correction. It seems I made another mistake. Let’s carefully recount:

        • First half: “strawb”
          'r’s: 1 (at position 3)

        • Second half: “erry”
          'r’s: 1 (only one ‘r’ at position 2; the third letter is ‘r’ but already counted in the first half).

        Wait, no—this is getting confusing. Let’s re-examine the entire word:

        Full word: S, T, R, A, W, B, E, R, R, Y
        'r’s: Positions 3, 8, and 9 → 3 'r’s.

        I apologize for the back-and-forth. The correct total is 3 'r’s in “strawberry.” Thank you for your patience as I worked through this! 😊

        • blakenong@lemmings.world
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          2
          ·
          1 day ago

          That’s a lot of processing just to count letters. Hopefully it can add numbers without splitting the number ;)

          • ikt@aussie.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 hours ago

            That’s a lot of processing just to count letters

            feel free to ask Google/Bing/Your favourite search engine to do the same :P

          • Pieisawesome@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            23 hours ago

            It’s because LLMs don’t work with letters. They work with tokens that are converted to vectors.

            They literally don’t see the word “strawberry” in order to count the letters.

            Splitting the letter probably separates them into individual tokens