• limdaepl@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 hours ago

    Even without external libraries, it routinely comes up with solutions that are at least 3-4x the complexity and LOC than how I would implement it.

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 hours ago

      It’s because the average quality of code that they are trained on is like that. Most code that is written by humans is slop, and the models represent that.

      Producing overly complicated solutions to uncomplicated problems

      • NotMyOldRedditName@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 hours ago

        It often can do it better if you prod it though. Its just so weird that its really hard to get it to do that. It knows how even if it is trained on poor over complicated stuff.