this post was submitted on 12 Jun 2024
24 points (100.0% liked)

Programmer Humor

32448 readers
836 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] impure9435@kbin.run 10 points 5 months ago (3 children)

The thing that I find the most funny about this post, is the fact that you call this Italian

[–] lseif@sopuli.xyz 4 points 5 months ago (2 children)

how am i supposed to know how italians speak. i've never seen one

[–] jballs@sh.itjust.works 2 points 5 months ago (1 children)

From my experience, they speak mostly with their hands

[–] theterrasque@infosec.pub 4 points 5 months ago (1 children)

🫰🤙🫵👌✊🫳🫸🤲🤌

[–] jballs@sh.itjust.works 2 points 5 months ago
[–] thesporkeffect@lemmy.world 1 points 5 months ago (1 children)

They're not real, but they can hurt you.

[–] pewpew@feddit.it 1 points 5 months ago (1 children)
[–] lars@lemmy.sdf.org 1 points 5 months ago

That’s right! None of us knows how Italians can speak in the dark 🤌

[–] RVGamer06@sh.itjust.works 2 points 4 months ago

Typical 'muricans being unable to comprehend anything besides English.

/s i don't mean to be racistyes i was a r/2we4u user, how'd you know?

[–] stingpie@lemmy.world 5 points 5 months ago (2 children)

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.

[–] PlexSheep@infosec.pub 4 points 5 months ago (1 children)

Do you have a source for that? Seems like an internal detail a corpo wouldn't publish

[–] stingpie@lemmy.world 1 points 5 months ago (1 children)

Can't find the exact source–I'm on mobile right now–but the code for the gpt-2 encoder uses a utf-8 to unicode look up table to shrink the vocab size. https://github.com/openai/gpt-2/blob/master/src/encoder.py

[–] crispy_kilt@feddit.de 2 points 5 months ago (1 children)

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

[–] stingpie@lemmy.world 2 points 5 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 1 points 5 months ago (1 children)

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 1 points 5 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.

[–] Phoenix3875@lemmy.world 4 points 5 months ago (2 children)

Let me simplify it: proceeds to print the same expression

[–] ChanchoManco@lemm.ee 3 points 5 months ago* (last edited 5 months ago) (1 children)

Typical AI behavior

Edit: and then it will gaslight you if you say the answer is the same.

[–] driving_crooner@lemmy.eco.br 4 points 5 months ago

Fucking hate when do that.

You are repeating the same mistake.

I'm sorry for repeating the same mistake, here's a new solution with corrections *proceed to write the exactly thing already told it was wrong*

[–] Wappen@lemmy.world 1 points 5 months ago

Nope, they replaced an asterisk with an arrow!

[–] abrahambelch@programming.dev 3 points 5 months ago (2 children)

Which language uses these signs? It truly looks like some kind of alien language

[–] chapapa@discuss.tchncs.de 4 points 5 months ago* (last edited 5 months ago) (1 children)

Glagolitic script. Oldest known Slavic alphabet according to Wikipedia.

[–] nimpnin@sopuli.xyz 1 points 5 months ago
[–] Hupf@feddit.de 2 points 5 months ago

Well, it certainly doesn't overflow on 32 bit systems

[–] ICastFist@programming.dev 2 points 5 months ago

Title mentions speaking italian

Not a single hand gesture anywhere

I've been duped

[–] Annoyed_Crabby@monyet.cc 2 points 5 months ago

That's not italian that's obviously Unown

[–] XEAL@lemm.ee 2 points 5 months ago (2 children)

Ah, I see you're using FartGPT instead of ChatGPT

[–] Blyfh@lemmy.world 2 points 5 months ago (1 children)

French pronunciation intensifies

[–] Lemjukes@lemm.ee 1 points 5 months ago

Cat, I farted.

[–] lseif@sopuli.xyz 1 points 5 months ago

is that the new model ?

[–] Redex68@lemmy.world 1 points 5 months ago

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

[–] RacoonVegetable@reddthat.com 1 points 5 months ago

I felt that when he said *83h400+93)*38hpfhi0

[–] iAvicenna@lemmy.world 1 points 5 months ago
[–] Vitaly@feddit.uk 1 points 5 months ago

It looks so badass, I could have used that script now because im Ukrainian but instead I have cyrillic script which is so boring

[–] unreachable@lemmy.world 1 points 5 months ago
[–] r00ty@kbin.life 1 points 5 months ago

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

[–] QuazarOmega@lemy.lol 1 points 5 months ago (6 children)

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

[–] MazonnaCara89@lemmy.ml 1 points 5 months ago (1 children)

No brother non possiamo tenere questo segreto fino alla fine

[–] QuazarOmega@lemy.lol 1 points 5 months ago

Non c'è scelta, se l'ultimo italiano dovesse lasciarci, allora anche questa informazione dovrà lasciare l'umanità

load more comments (5 replies)
[–] Vitaly@feddit.uk 0 points 5 months ago (1 children)

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

[–] Allero@lemmy.today 1 points 5 months ago (1 children)

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 1 points 5 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.