• G_M0N3Y_2503@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 hours ago

    Code is probably one of the easiest things to verify, for that reason I struggle to see any other viable uses for LLMs tbh.

    user: write code that correctly asserts what 1+1 equals.
    LLM: assert_eq!(1 + 1, 4);
    LLM: hmmm, that crashed.
    LLM: assert_eq!(1 + 1, 3);
    LLM: hmmm, that also crashed, I must be doing something wrong, let me try one more time.
    LLM: assert_eq!(1 + 1, 2);
    LLM: that worked!
    LLM Response: assert_eq!(1 + 1, 2);
    
    user: what does this sentence mean? "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo"
    LLM Response: This doesn't mean anything, or someone really likes buffalo's
    

    I can always run the code to check, I still don’t know how that sentence makes sense.

    • SuperNovaStar@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 hours ago

      That’s because it needs a semicolon:

      Buffalo buffalo Buffalo buffalo; buffalo buffalo Buffalo buffalo.

      Also it isn’t a very good sentence because you’ve said the same thing twice.

      It should read:

      Buffalo buffalo buffalo; Buffalo buffalo buffalo Buffalo buffalo.

      Translation:

      “Buffalo” is a place, a noun (more or less meaning bison), and a verb (to harass or bully). So what it means is:

      Bison bully bison; Buffalo bison bully Buffalo bison.

      • G_M0N3Y_2503@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 hours ago

        hmmm, I just copied from Wikipedia as my primary source. That was the faux pas that was cool before AI.