• @OsrsNeedsF2P@lemmy.ml
    link
    fedilink
    21 day ago

    You didn’t get good answers so I’ll explain.

    First, an LLM can easily write a program to calculate the number of rs. If you ask an LLM to do this, you will get the code back.

    But the website ChatGPT.com has no way of executing this code, even if it was generated.

    The second explanation is how LLMs work. They work on the word (technically token, but think word) level. They don’t see letters. The AI behind it literally can only see words. The way it generates output is it starts typing words, and then guesses what word is most likely to come next. So it literally does not know how many rs are in strawberry. The impressive part is how good this “guessing what word comes next” is at answering more complex questions.

      • @OsrsNeedsF2P@lemmy.ml
        link
        fedilink
        21 day ago

        ChatGPT used to actually do this. But they removed that feature for whatever reason. Now the server that the LLM runs on doesn’t isn’t provide the LLM a Python terminal, so the LLM can’t query it