There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

sun_is_ra , in It must be a silent R

First mentioned by linus techtip.

i had fun arguing with chatgpt about this

Rhaedas , in It must be a silent R

I tried it with my abliterated local model, thinking that maybe its alteration would help, and it gave the same answer. I asked if it was sure and it then corrected itself (maybe reexamining the word in a different way?) I then asked how many Rs in "strawberries" thinking it would either see a new word and give the same incorrect answer, or since it was still in context focus it would say something about it also being 3 Rs. Nope. It said 4 Rs! I then said "really?", and it corrected itself once again.

LLMs are very useful as long as know how to maximize their power, and you don't assume whatever they spit out is absolutely right. I've had great luck using mine to help with programming (basically as a Google but formatting things far better than if I looked up stuff), but I've found some of the simplest errors in the middle of a lot of helpful things. It's at an assistant level, and you need to remember that assistant helps you, they don't do the work for you.

Toneswirly , in It must be a silent R

Ladies and gentlemen: The Future.

itsraining ,

“In the Future, people won’t have to deal with numbers, for the mighty computers will do all the numbers crunching for them”

The mighty computers:

glimse , in It must be a silent R

Copilot may be a stupid LLM but the human in the screenshot used an apostrophe to pluralize which, in my opinion, is an even more egregious offense.

It’s incorrect to pluralizing letters, numbers, acronyms, or decades with apostrophes in English. I will now pass the pedant stick to the next person in line.

homesweethomeMrL ,

I salute your pedantry.

Beanie ,

That’s half-right. Upper-case letters aren’t pluralised with apostrophes but lower-case letters are. (So the plural of ‘R’ is ‘Rs’ but the plural of ‘r’ is ‘r’s’.) With numbers (written as ‘123’) it’s optional - IIRC, it’s more popular in Britain to pluralise with apostrophes and more popular in America to pluralise without. (And of course numbers written as words are never pluralised with apostrophes.) Acronyms are indeed not pluralised with apostrophes if they’re written in all caps. I’m not sure what you mean by decades.

ryannathans ,

Why use for lowercase?

GetOffMyLan ,

Because English is stupid

SlopppyEngineer ,

It’s not stupid. It’s just the bastard child of Germany, Dutch, French, Celtic and Scandinavian and tries to pretend this mix of influences is cool and normal.

DragonTypeWyvern ,

Victim blaming and ableism!

The French and Scandinavian bits were NOT consensual.

(Don’t forget Latin btw)

roguetrick ,

There are plenty of non Norman consensual French words and the Danes had as much a right to be there as the Angles and the Saxons did in kicking the celts out. Let’s not even talk about if the anglo-Saxons had more legitimate claim than the norse-gaels.

bisby ,

Because otherwise if you have too many small letters in a row it stops looking like a plural and more like a misspelled word. Because capitalization differences you can make more sense of As but not so much as.

psud ,

As

That looks like an oddly capitalised “as”

That really gives the reason it’s acceptable to use apostrophes when pluralising that sort of case

Mouselemming ,

By decades they meant “the 1970s” or “the 60s”

I don’t know if we can rely on British popularity, given y’all’s prevalence of the “greengrocer’s apostrophe.”

ProfessorProteus ,
@ProfessorProteus@lemmy.world avatar

Never heard of the greengrocer’s apostrophe so I looked it up. thoughtco.com/what-is-a-greengrocers-apostrophe-1…

I absolutely love that there’s a group called the Apostrophe Protection Society. Is there something like that for the Oxford Comma? I’d gladly join them!

SkyezOpen ,

I will die on both of those hills alongside you.

Aatube ,
Beanie ,

Hah, I do not like the greengrocer’s apostrophe. It is just wrong no matter how you look at it. The Oxford comma is a little different - it’s not technically wrong, but it should only be used to avoid confusion.

VirtualOdour ,

I use it for fun, frivolity, and beauty.

Beanie ,

Oh right - that would be the same category as numbers then. (Looked it up out of curiosity: using apostrophes isn’t incorrect, but it seems to be an older/less formal way of pluralising them.)

Mouselemming ,

Now, plurals aside, which is better,

The 60s

Or

The '60s

?

Bunnylux ,
@Bunnylux@lemmy.world avatar

Oooh, pedant stick, pedant stick! Give it to me!!

warbond ,

Thank you. Now, insofar as it concerns apostrophes (he said pedantically), couldn’t it be argued that the tools we have at our immediate disposal for making ourselves understood through text are simply inadequate to express the depth of a thought? And wouldn’t it therefore be more appropriate to condemn the lack of tools rather than the person using them creatively, despite their simplicity? At what point do we cast off the blinders and leave the guardrails behind? Or shall we always bow our heads to the wicked chroniclers who have made unwitting fools of us all; and for what? Evolving our language? Our birthright?

No, I say! We have surged free of the feeble chains of the Oxfords and Websters of the world, and no guardrail can contain us! Let go your clutching minds of the anchors of tradition and spread your wings! Fly, I say! Fly and conformn’t!

I relinquish the pedant stick.

Melvin_Ferd ,

English is a filthy gutter language and deserves to be wielded as such. It does some of its best work in the mud and dirt behind seedy boozestablishments.

NeatNit ,

Prescriptivist much?

CodexArcanum , in It must be a silent R

I was curious if (since these are statistical models and not actually counting letters) maybe this or something like it is a common “gotcha” question used as a meme on social media. So I did a search on DDG and it also has an AI now which turned up an interestingly more nuanced answer.

https://lemmy.world/pictrs/image/883cf1b0-39c9-45ec-9df9-f476d9ac3480.jpeg

It’s picked up on discussions specifically about this problem in chats about other AI! The ouroboros is feeding well! I figure this is also why they overcorrect to 4 if you ask them about “strawberries”, trying to anticipate a common gotcha answer to further riddling.

DDG correctly handled “strawberries” interestingly, with the same linked sources. Perhaps their word-stemmer does a better job?

sus ,

many words should run into the same issue, since LLMs generally use less tokens per word than there are letters in the word. So they don’t have direct access to the letters composing the word, and have to go off indirect associations between “strawberry” and the letter “R”

duckassist seems to get most right but it claimed “ouroboros” contains 3 o’s and “phrasebook” contains one c.

ReveredOxygen ,
@ReveredOxygen@sh.itjust.works avatar

DDG’s one isn’t a straight LLM, they’re feeding web results as part of the prompt.

CommanderCloon ,
stevedidwhat_infosec , in It must be a silent R

You’ve discovered an artifact!! Yaaaay

If you ask GPT to do this in a more math questiony way, itll break it down and do it correctly. Just gotta narrow top_p and temperature down a bit

VitaminF ,

Chatgpt just told me there is one r in elephant.

stevedidwhat_infosec ,

Is this satire or

VitaminF ,

No, actually did, try for yourself.

schnurrito , in It must be a silent R

This is hardly programmer humor… there is probably an infinite amount of wrong responses by LLMs, which is not surprising at all.

DragonTypeWyvern ,

I don’t know, programs are kind of supposed to be good at counting. It’s ironic when they’re not.

Funny, even.

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

Eh

If I program something to always reply “2” when you ask it “how many [thing] in [thing]?” It’s not really good at counting. Could it be good? Sure. But that’s not what it was designed to do.

Similarly, LLMs were not designed to count things. So it’s unsurprising when they get such an answer wrong.

pkill ,

the ‘I’ in LLM stands for intelligence

logorok ,
@logorok@lemmy.world avatar

I can evaluate this because it’s easy for me to count. But how can I evaluate something else, how can I know whether the LLM ist good at it or not?

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

Assume it is not. If you’re asking an LLM for information you don’t understand, you’re going to have a bad time. It’s not a learning tool, and using it as such is a terrible idea.

If you want to use it for search, don’t just take it at face value. Click into its sources, and verify the information.

cypherix93 , in It must be a silent R

“strawberry”.split(‘’).filter(c => c === ‘r’).length

SpaceNoodle ,

len([c if c == ‘r’ for c in “strawberry”])

tiefling ,

‘strawberry’.match(/r/ig).length

Anticorp ,

deleted_by_author

  • Loading...
  • Sluyter548 ,

    A zero indexed array doesn’t have a different length ;)

    pkill ,

    (\r (frequencies “strawberry”))

    homesweethomeMrL , in It must be a silent R

    Jesus hallucinatin’ christ on a glitchy mainframe.

    I’m assuming it’s real though it may not be but - seriously, this is spellcheck. You know how long we’ve had spellcheck? Over two hundred years.

    This? This is what’s thrown the tech markets into chaos? This garbage?

    Fuck.

    DragonTypeWyvern ,

    I was just thinking about Microsoft Word today, and how it still can’t insert pictures easily.

    This is a 20+ year old problem for a program that was almost completely functional in 1995.

    tourist , in It must be a silent R
    @tourist@lemmy.world avatar

    Is there anything else or anything else you would like to discuss? Perhaps anything else?

    Anything else?

    Asafum , in It must be a silent R

    A humorous follow up response would be “sure, here’s another question: How the hell did they think you were ready to be utilized?”

    The only correct answer: “I can answer that for you! The reason they thought I was ready to be utilized by the general public is because money!”

    Boomkop3 , in It must be a silent R

    Stwawberry

    Beanie ,

    Strawbery

    aoidenpa ,

    Strawbery

    crusty ,

    Strawbery

    dosuser123456 ,
    @dosuser123456@lemmy.sdf.org avatar

    stawebry

    vaionko ,

    Strarbey

    LEONHART ,

    I instinctively read that in Homestar Runner’s voice.

    ripcord ,
    @ripcord@lemmy.world avatar

    “Appwy wibewawy!”

    SharkEatingBreakfast ,
    @SharkEatingBreakfast@sopuli.xyz avatar

    “Dang. This is, like… the never-ending soda.”

    ripcord ,
    @ripcord@lemmy.world avatar

    “Ah-ah, ahh-ah, ahhh-ahhh…”

    ByteOnBikes ,

    Welp time to spend 3 hours rewatching all the Strongbad emails.

    dosuser123456 ,
    @dosuser123456@lemmy.sdf.org avatar

    the system is down?

    ech , in It must be a silent R

    Boy, your face is red like a strawbrerry.

    iAvicenna , in Ah yes, the I in LLM
    @iAvicenna@lemmy.world avatar

    I have also heard that Q means quantum, so put together it stands for Quantum Intelligence

    0laura , in It must be a silent R

    The people here don’t get LLMs and it shows. This is neither surprising nor a bad thing imo.

    krashmo ,

    In what way is presenting factually incorrect information as if it’s true not a bad thing?

    14th_cylon ,

    Maybe in a “it is not going to steal our job… yet” way.

    krashmo ,

    True but if we suddenly invent an AI that can replace most jobs I think the rich have more to worry about than we do.

    14th_cylon ,

    Maybe, but I am in my 40s and my back aches, I am not in a shape for revolution :D

    pkill ,

    Lenin was 47 in 1917

    14th_cylon ,

    That’s looking at the bright side :D

    0laura ,

    LLMs operate using tokens, not letters. This is expected behavior. A hammer sucks at controlling a computer and that’s okay. The issue is the people telling you to use a hammer to operate a computer, not the hammer’s inability to do so

    Laborer3652 ,
    vcmj ,

    It would be luck based for pure LLMs, but now I wonder if the models that can use Python notebooks might be able to code a script to count it. Like its actually possible for an AI to get this answer consistently correct these days.

    itsraining ,

    People who make fun of LLMs most often do get LLMs and try to point out how they tend to spew out factually incorrect information, which is a good thing since many many people out there do not, in fact, “get” LLMs (most are not even acquainted with the acronym, referring to the catch-all term “AI” instead) and there is no better way to make a precaution about the inaccuracy of output produced by LLMs –however realistic it might sound– than to point it out with examples with ridiculously wrong answers to simple questions.

    Edit: minor rewording to clarify

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines