you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 month ago (7 children)

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.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 1 point 1 month ago (4 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 1 month ago* (1 child)

    Hmm, I don't see how semicolons work in this sentence.

    Marking up the sentence with extras to help visualize:

    Buffalo-buffalo (who) Buffalo-buffalo (do) buffalo (in return also) buffalo (the other) Buffalo-buffalo.

    A sentence of similar structure, subbing components for others of the same language parts...

    • Buffalo buffalo → other nouns qualified by adjectives
      • Foreign cars
      • Austin techbros
      • big money
    • buffalo (verb) → other verbs
      • covet
      • cost

    ... would be:

    Foreign cars Austin techbros covet cost big money.

    (edit: I couldn't quickly think of a location adjective for the last noun, which would have stuck to the pattern more closely, but "big" is still the same role, an adjective.)

  • source
  • parent
  • hideshow 1 child comment