• KillingTimeItself@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 hours ago

    the problem is more complex than initially thought, for a few reasons.

    One, the user is not very good at prompting, and will often fight with the prompt to get what they want.

    Two, often times the user has a very specific vision in mind, which the AI obviously doesn’t know, so the user ends up fighting that.

    Three, the AI is not omnisicient, and just fucks shit up, makes goofy mistakes sometimes. Version assumptions, code compat errors, just weird implementations of shit, the kind of stuff you would expect AI to do that’s going to make it harder to manage code after the fact.

    unless you’re using AI strictly to write isolated scripts in one particular language, ai is going to fight you at least some of the time.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 hours ago

      I asked an LLM to generate tests for a 10 line function with two arguments, no if branches, and only one library function call. It’s just a for loop and some math. Somehow it invented arguments, and the ones that actually ran didn’t even pass. It made like 5 test functions, spat out paragraphs explaining nonsense, and it still didn’t work.

      This was one of the smaller deepseek models, so perhaps a fancier model would do better.

      I’m still messing with it, so maybe I’ll find some tasks it’s good at.

      • KillingTimeItself@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        from what i understand the “preview” models are quite handicapped, usually the benchmark is the full fat model for that reason. the recent openAI one (they have stupid names idk what is what anymore) had a similar problem.

        If it’s not a preview model, it’s possible a bigger model would help, but usually prompt engineering is going to be more useful. AI is really quick to get confused sometimes.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          It might be, idk, my coworker set it up. It’s definitely a distilled model though. I did hope it would do a better job on such a small input though.