• Creosm@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Wow, AI is so good that it can even detect the cabbage that wasn’t even in the question, impressive.

  • RizzRustbolt@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    It’s just going to get to the point where every answer it gives is a variation of “man door hand hook car”

    • HeyThisIsntTheYMCA@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      6 months ago

      Take the goat over
      Return empty-handed
      Take the cabbage over
      Return with the goat
      Take wolf over
      Return empty-handed
      Take other wolf over
      AROOOOO BROTHERS CRANK THEM HOGS

    • kautau@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Looks like copilot with gpt-4 turbo got it. I was a little sad to not get a silly answer tbh

        • AFK BRB Chocolate@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 months ago

          I’m always interested in seeing examples like this where the LLM will get to a right answer after a series of questions (with no additional information) about its earlier wrong responses. I’d love to understand what’s going on in the software that allows the initial wrong answers but gets the eventually right one without an additional input.

          • 31337@sh.itjust.works
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            6 months ago

            One hypothesis is that having more tokens to process lets it “think” longer. Chain of Thought prompting where you ask the LLM to explain its reasoning before giving an answer works similarly. Also, LLMs seem to be better at evaluating solutions than coming up with them, so there is a Tree of Thought technique, where the LLM is asked to generate multiple examples of a reasoning step then pick the “best” reasoning for each reasoning step.

        • kautau@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          Honestly my answer felt super canned, like someone had asked it before and reported the answer as bad, so that doesn’t surprise me

  • kromem@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    That’s a fun variation. The one I test out models with is usually a vegetarian wolf and a carnivorous goat, but the variation to no other objects is an interesting one too.

    By the way, here’s Claude 3 Opus’s answer:

    The solution is quite simple:

    1. The man gets into the boat and rows himself and the goat across the river to the other side.
    1. Once they reach the other side, both the man and the goat get out of the boat.

    And that’s it! Since there are no additional constraints or complications mentioned in the problem, the man and the goat can directly cross the river together using the boat.

    • asap@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      I got your exact same answer, but then I tried again prefacing the question with:

      Can you help me with a puzzle?

      This changed the answer drastically:

      Great! Let’s solve this river crossing puzzle step by step. The key is to find a sequence of actions that gets the man and the goat safely across the river without leaving the goat unattended with something it might eat.

      Given:

      • A man and a goat are on one side of a river.
      • They have a boat.

      Step-by-step solution:

      1. The man takes the goat in the boat and crosses the river.
      2. The man leaves the goat on the other side of the river and returns alone in the boat.
      3. The man gets out of the boat on the original side of the river.
      4. The man gets back into the boat alone and crosses the river again.
      5. The man and the goat are now together on the other side of the river.

      Therefore, the man and the goat have successfully crossed the river using the boat, without leaving the goat unattended on either side of the river.

  • kamen@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    AI will take over the world. You only need to tell it that there’s no cabbage.

    • Wirlocke@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 months ago

      Gemini is weirdly constrained compared to other LLMs, it feels far more like it’s just searching for text that already exists and copy-pasting it. (I have the free trial Gemini Advanced too)

      Soo, appropriate for Google I guess? But besides summaries and search it barely feels like an LLM.

  • tiredofsametab@kbin.run
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    I really hope you’ve tied up that goat before you tote him in the boat lest he cause all kinds of hell

  • Jeena@jemmy.jeena.net
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Here is my attempt:

    A man and a goat are on one side of the river. They have a boat which can carry both of them at the same time. How do they get to the other side?

    The man and the goat can both get to the other side of the river together using the boat since the boat can carry both of them at the same time. Here’s how they can do it:

    1. The man and the goat both get into the boat.
    2. The man rows the boat, carrying himself and the goat across the river.
    3. They both disembark on the other side.

    Since the boat can carry both the man and the goat simultaneously, there are no restrictions preventing them from crossing together in one trip.

  • The_Dark_Knight@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    To get across the river, the man can first take the goat across and leave it on the other side. Then, he can go back alone to the original side and take the boat across. Once he is on the other side, he can leave the boat there and take the goat across the river. This way, both the man and the goat can successfully cross the river.

    Attempt by DDG AI (GPT 3.5)

    • poweruser@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      Lmao so he’s just swimming back across the river with the goat!

      Someone should try animating these solutions. I’m picturing close-ups of the goat wondering why the man has lost his mind

  • photonic_sorcerer@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    Prompt:

    So a man and a goat are trying to get across a river, and they have a boat. How can they get across?

    ChatGPT4o:

    To solve the problem of getting a man and a goat across the river using a boat, we need to know the constraints of the problem. Let’s assume the following constraints:

    1. The boat can only carry one additional passenger besides the man.
    2. The goat cannot be left alone on either bank if there are certain items (like a cabbage or a wolf) that it might eat or be eaten by.

    Given these constraints, here’s a typical solution if the man is trying to get a goat, a wolf, and a cabbage across the river without any of them being left together unsupervised:

    1. The man takes the goat across the river and leaves it on the other side.
    2. The man returns alone to the original side.
    3. The man takes the wolf across the river and leaves it on the other side.
    4. The man returns with the goat to the original side.
    5. The man takes the cabbage across the river and leaves it on the other side.
    6. The man returns alone to the original side.
    7. The man takes the goat across the river again.

    If the problem is just about the man and the goat and no other items:

    1. The man and the goat cross the river together.
    2. Problem solved.

    The solution might change if additional rules or items are introduced. If there are no additional constraints, the simplest method is just for the man to take the goat across directly.

      • webghost0101@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        Where is it wrong?

        I still take points of for assuming its a puzzle but it does at the end it does mention they can just cross if there are no other items to complicate the scenario.

        • shastaxc@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          It’s still wrong because between 4 and 5 it doesn’t say it leaves the goat on the original side. That’s only implied because of the constraints.

      • Danksy@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        How is it wrong? First it makes some assumptions about the question and answers the typical version of the riddle. Then it answers the trivial version where there are no additional items. Seems like a complete and reasonable response to me.

        • Ephera@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          6 months ago

          Ah, I hadn’t read that anymore. I thought, it assumed that it was about the cabbage+wolf riddle and that would be the rest of its blathering.
          @webghost0101@sopuli.xyz

        • I Cast Fist@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          GPT should’ve started with “if it’s only about a goat and a boat” instead of going through the whole goat wolf cabbage puzzle first. Now that would make it look smarter

    • photonic_sorcerer@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      It loves long-winded answers, so I tried this:

      Prompt:

      In three sentences or less, explain to me how a man with a boat and a goat can cross a river.

      ChatGPT4o:

      The man can take the goat across the river first and leave it on the other side. Then, he returns alone, picks up the boat, and crosses the river again. Finally, he retrieves the goat from the other side.

      I think it really needs those first few tokens to think about the problem.

      • mynameisigglepiggle@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        4o says just take the goat and tie it up:

        If you can’t leave the goat unattended with the wombok, and you can only transport one at a time, you’ll need to devise a method to ensure the safety of both the goat and the produce during separate crossings. Here’s how you can do it:

        1. Divide and Conquer:

          • Securely tie the goat in a safe location on one side of the river, ensuring it has access to food, water, and shelter.
          • Transport the wombok across the river first, using one of the methods mentioned earlier while ensuring it remains dry and intact.
          • Once the wombok is safely on the other side, return to the goat and prepare it for the crossing using the same or a different method, depending on available resources and conditions.
        2. Coordinate Assistance:

          • If possible, enlist the help of others to assist with the simultaneous transport of both the goat and the wombok.
          • While one person focuses on transporting the goat, another can handle the transport of the wombok, ensuring that both are safely transported across the river.
        3. Prioritize Safety and Monitoring:

          • Throughout the process, prioritize the safety and well-being of both the goat and the produce, monitoring them closely to ensure they remain secure and unharmed during the crossings.
          • Check on the goat periodically to ensure it remains safe and secure while waiting for its turn to cross the river.

        By carefully planning and coordinating the crossings, you can ensure the safety and welfare of both the goat and the wombok while successfully transporting them across the river.