• stingpie@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    25 days ago

    This might be happening because of the ‘elegant’ (incredibly hacky) way openai encodes multiple languages into their models. Instead of using all character sets, they use a modulo operator on each character, to make all Unicode characters represented by a small range of values. On the back end, it somehow detects which language is being spoken, and uses that character set for the response. Seeing as the last line seems to be the same mathematical expression as what you asked, my guess is that your equation just happened to perfectly match some sentence that would make sense in the weird language.

        • crispy_kilt@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          23 days ago

          Seriously? Python for massive amounts of data? It’s a nice scripting language, but it’s excruciatingly slow

          • stingpie@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            23 days ago

            There are bindings in java and c++, but python is the industry standard for AI. The libraries for machine learning are actually written in c++, but use python language bindings. Python doesn’t tend to slow things down since machine learning is gpu-bound anyway. There are also library specific programming languages which urges the user to make pythonic code that can be compiled into c++.