• @stingpie@lemmy.world
    link
    fedilink
    010 months 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
          010 months ago

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

          • @stingpie@lemmy.world
            link
            fedilink
            010 months 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++.

    • @NeatNit@discuss.tchncs.de
      link
      fedilink
      010 months ago

      I suppose it’s conceivable that there’s a bug in converting between different representations of Unicode, but I’m not buying and of this “detected which language is being spoken” nonsense or the use of character sets. It would just use Unicode.

      The modulo idea makes absolutely no sense, as LLMs use tokens, not characters, and there’s soooooo many tokens. It would make no sense to make those tokens ambiguous.

      • @stingpie@lemmy.world
        link
        fedilink
        010 months ago

        I completely agree that it’s a stupid way of doing things, but it is how openai reduced the vocab size of gpt-2 & gpt-3. As far as I know–I have only read the comments in the source code– the conversion is done as a preprocessing step. Here’s the code to gpt-2: https://github.com/openai/gpt-2/blob/master/src/encoder.py I did apparently make a mistake, as the vocab reduction is done through a lut instead of a simple mod.

  • I Cast Fist
    link
    fedilink
    010 months ago

    Title mentions speaking italian

    Not a single hand gesture anywhere

    I’ve been duped

  • @QuazarOmega@lemy.lol
    link
    fedilink
    English
    010 months ago

    You may not understand, but we do.
    Questo segreto rimarrà custodito gelosamente dalla stirpe italica. ◉‿◉

  • Redex
    link
    fedilink
    010 months ago

    Damn, wild Glagolitic script found. I didn’t even realise it was in the Unicode standard.

    • @82cb5abccd918e03@lemmygrad.ml
      link
      fedilink
      010 months ago

      I found it! its the Glagolitic script used in the 9th century before Cyrillic took over:

      ⰀⰁⰂⰃⰄⰅⰆⰇⰈⰉⰊⰋⰌⰍⰎⰏⰐⰑⰒⰓⰔⰕⰖⰗⰘⰙⰚⰛⰜⰝⰞⰟⰠⰡⰢⰣⰤⰥⰦⰧⰨⰩⰪⰫⰬⰭⰮⰰⰱⰲⰳⰴⰵⰶⰷⰸⰹⰺⰻⰼⰽⰾⰿⱀⱁⱂⱃⱄⱅⱆⱇⱈⱉⱊⱋⱌⱍⱎⱏⱐⱑⱒⱓⱔⱕⱖⱗⱘⱙⱚⱛⱜⱝⱞ
      
    • chapapa
      link
      fedilink
      0
      edit-2
      10 months ago

      Glagolitic script. Oldest known Slavic alphabet according to Wikipedia.

    • Sunoc
      link
      fedilink
      010 months ago

      I would like to know too! Never saw that writing system before.

      • @82cb5abccd918e03@lemmygrad.ml
        link
        fedilink
        010 months ago

        No that looks like

        ⌶⌷⌸⌹⌺⌻⌼⌽⌾⌿⍀⍁⍂⍃⍄⍅⍆⍇⍈⍉⍊⍋⍌⍍⍎⍏⍐⍑⍒⍓⍔⍕⍖⍗⍘⍙⍚⍛⍜⍝⍞⍟⍠⍡⍢⍣⍤⍥⍦⍧⍨⍩⍪⍫⍬⍭⍮⍯⍰⍱⍲⍳⍴⍵⍶⍷⍸⍹⍺
        
  • Vitaly
    link
    fedilink
    010 months ago

    Kind of looks like the writing system of Georgian language but I’m not sure

    • @Allero@lemmy.today
      link
      fedilink
      010 months ago

      No, this is Glagolitic script, an alternative to Cyrillic. Mostly used in old Slavic scriptures, was later replaced by Cyrillic and Latin.

      Most Slavs themselves don’t know how to read this

      • @TwilightKiddy@programming.dev
        link
        fedilink
        010 months ago

        It’s a dead script that was not that common in the first place, in Kievan Rus’ it was even used as a form of encryption in XI—XVI centuries for how little spread it was. It is also very different from modern Cyrillic. So, saying “most Slavs don’t know how to read it” is a bit of an understatement. Noone knows how to read it, apart from some linguists and overzealous Witcher fans.

        • @OpFARv30@lemmy.ml
          link
          fedilink
          010 months ago

          It was widespread in Croatia until the late middle ages, about XIV-XV century.

          Noone knows how to read it, apart from some linguists and overzealous Witcher fans.

          I could fluently read and write it in high school. Was bored.

          • @TwilightKiddy@programming.dev
            link
            fedilink
            010 months ago

            Yea, Croatia is the only place it got widely used. Is it some kind of historical elective course in Croatian schools? Been a coupe of times in Croatia, never seen Glagolic in the wild, though. Maybe wasn’t looking good enough.

            • @OpFARv30@lemmy.ml
              link
              fedilink
              010 months ago

              Is it some kind of historical elective course

              No, there was a poster showing correspondence with Latin on the wall, somewhere. The symbols are almost 1-1 with modern orthography, so it takes only about a week of practice. And I was really bored.

              never seen Glagolic in the wild

              It’s about as distant from modern use as runes are for germanic speakers, but maybe with different connotations. Decorative nonsense.

              But I did submit essays written with that when I wanted to fail with style. :)

              I also met a guy in college who used it to keep notes. That guy was also bored.

  • r00ty
    link
    fedilink
    010 months ago

    Wow, an alien ion drive formula! Try to get warp drive out of it too!