Sadly, it seems like Lemmy is going to integrate LLM code going forward: https://github.com/LemmyNet/lemmy/issues/6385 If you comment on the issue, please try to make sure it’s a productive and thoughtful comment and not pure hate brigading.

Edit: perhaps I should also mention this one here as a similar discussion: https://github.com/sashiko-dev/sashiko/issues/31 This one concerns the Linux kernel. I hope you’ll forgive me this slight tangent, but more eyes could benefit this one too.

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    36
    arrow-down
    4
    ·
    13 hours ago

    Code written with the help of LLM and being reviewed is different than like what was happening with Lutris where the developer decided to obfuscate their use of AI-generated code.

    The approach you suggest to totally ban it, while in principle can agree and I think that’s noble, it could lead to people accusing each other of using AI code where it may or may not have happened, or others just hiding it and trying to submit anyway without the reviewers knowing, which is just counter-productive.

    I’ve followed Lemmy development now for 3 years, the devs approach is slow and steady, to a fault in some people’s views. I think it’s a better use of open source resources if we encourage candor and honesty. If the repo gets spammed with AI-generated PRs, then it will probably be blanket banned, but contributors accurately documenting and reporting their usage of AI will help direct reviewers attention to ensure the code is not slop quality or full of hallucinations.

    • ell1e@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      19
      ·
      edit-2
      9 hours ago

      In my opinion, this argument is exactly the same as saying “we can’t enforce people not stealing GPL-licensed code and copy&pasting it into our project, so we might as well allow it and ask them to disclose it.”

      You can try to argue AI may actually be useful, which seems like what they did, and that would more fairly inform a policy in my opinion. I think your argument doesn’t.

      • MrLLM@ani.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        52 minutes ago

        Yeah, and of top of that all the reasons why we hate AI,

        • It’s a plagiarism machine
        • It still hallucinates which might end up in borked projects
        • it has and will continue to fuck up RAM and storage market
        • It consumes a shit ton of energy
        • It’s ruining everything with poor quality products
      • Rentlar@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        My argument is that a total ban on AI use is more comparable to saying “Code from any other coding project is not allowed”. It will start unproductive arguments over boilerplate, struct definitions and other commonly used code.

        The broadness and vaagueness of “no AI whatsoever” or “no code from any other projects whatsoever” will be more confusing than saying, “if you do copy any code from another project, let us know where from”. Then the PR can be evaluated, rejected if it’s nonfree or just poor quality, rather than incentivizing people to pretend other people’s code is their own, risking bigger consequences for the whole project. People can be honest if they got inspiration from stackoverflow, a reference book, or another project, if they are allowed to be.

        I’m not saying AI should be blanket allowed, the submitter needs to understand the code, enough to be able to revise it for errors themselves if the devs point out something. They can’t just say “I asked AI and it’s confident that the code does this and is bug free”.

    • wheezy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      12
      ·
      edit-2
      11 hours ago

      Great perspective and response. Far too many “fuck AI” people are literally advocating for the equivalent of “fuck computers” and “more tedious labor please!”

      The reason you should hate AI should be related to it’s exploitation of labor and it’s over use leading to energy and environmental impacts. Trying to ban AI for all applications is just counter productive and impossible. If the anti AI crowd is just filled with people that want it banned outright for everything, well, then the pro AI crowd that wants to slam it into anything and everything will win out.

      We need to be pointing to good applications of AI that can benefit open source projects in a responsible way as examples of how it should be used. Not spamming them with hate comments because “AI bad”

      • ell1e@leminal.spaceOP
        link
        fedilink
        English
        arrow-up
        12
        ·
        edit-2
        2 hours ago

        far too many “fuck AI” people are literally advocating for the equivalent of “fuck computers” and “more tedious labor please!”

        Not what I’m advocating for.

        We need to be pointing to good applications of AI

        Feel free to do so, but studies are not on your side. Edit: this is a reminder we’re talking about LLMs for code and documentation.

        The only somewhat clearly useful use case appear to be code reviews, but then you don’t need to actually allow submitting any LLM rewritten code or text since code reviews can be done using natural language. And if you use server-side LLMs, you’ll probably agree to ToS that they steal your data.

        And LLMs seem to be amazing at plagiarism.

        • FauxLiving@lemmy.world
          link
          fedilink
          arrow-up
          9
          arrow-down
          6
          ·
          9 hours ago

          We need to be pointing to good applications of AI Freel free to do so, but studies are not on your side.

          The only somewhat clearly useful use case appear to be code reviews, but then you don’t need to actually allow submitting any LLM rewritten code or text since code reviews can be done using natural language. And if you use server-side LLMs, you’ll probably agree to ToS that they steal your data.

          And they seem to be amazing at plagiarism.

          You, like a large portion of the ‘fuck AI’ community are angry at LLMs or image/video generation models and their associated capitalist bubble. Yes, LLMs produce poor quality output compared to humans and yes the current marketing and capital explosion is bad for everyone involved that isn’t otherwise independently wealthy.

          The reason that these are the AI that you’re aware of is that AI needs a lot of data to train and the only source of a huge amount of data, the Internet, is primarily text, images and video. So the first large transformer-based neural networks were trained on that dataset.

          ChatGPT and Sora are toys, they were just the toys that were easiest to make given the data available when transformers were discovered.

          If you train neural networks on different kinds of data you get different models. For example, if you train neural networks on protein folding data, you get neural networks that can predict protein folding based on an amino acid sequence. This is a thing that human-created software has not had great success at.

          People may be familiar with Folding@Home, a project which attempts to leverage donated computing resources to brute force the problem. These projects have consumed thousands of person-hours of our best scientists and engineers and the results are pretty poor.

          However, since we now know how to train neural networks on data, we can train an AI to predict the protein structures and the resulting networks such as AlphaFold (https://en.wikipedia.org/wiki/AlphaFold) produce results much higher than human engieered software.

          In addition to predicting the structure, other scientists have used diffusion models (similar to how consumer AI products generate images) to go the other way. Now a scientist can describe a protein’s properties in a prompt and instead of generating a picture the network outputs the sequence of amino acids that are most likely to fold into a shape with those properties.

          Robotics are another field where AI is making an impact unseen to the public. There isn’t an Internet full of bipedal motion or limb-positioning data, so it is much harder to train an AI to operate robotics. There are many projects which are working to create that data and the results are pretty impressive. This is a bipedal robot which has been trained on human motion: https://www.youtube.com/watch?v=I44_zbEwz_w compare that to pre-AI motion: https://www.youtube.com/watch?v=LikxFZZO2sk

          Weather forecasting is another field where AI is useful. Predicting weather requires identifying patterns in huge amounts of data and AI is uniquely able to deal with that level of complexity.

          None of these uses of AI can talk to you, or produce pictures. They cannot understand sentences or write e-mails or generate code. They’re trained on data generated specifically for their purpose, not on public data scrapped from the Internet. Their output allows us to develop medicines faster, automate dangerous jobs and predict weather disasters.

          I’m with anyone who’s concerned about the capitalist frenzy over LLMs and image/video generation products. This is clearly another dotcom bubble and the spending frenzy and disruption in the job markets is damaging the economy and hurting workers at a large scale.

          I do not lay the blame for this at the feet of neural networks. The blame lies with the human beings making the decision to take a promising technology and to dump trillions of dollars into it without any endgame other than market dominance.

          The community should but ‘fuck AI executives’, AI has many uses outside of LLMs and image generation and people are completely missing all of the amazing things that this technology is making possible.

          • baggachipz@sh.itjust.works
            link
            fedilink
            arrow-up
            5
            ·
            9 hours ago

            Thank you so much for taking the time to put into words what I’ve been too lazy to enunciate. Transformer-based tools are a great development with some fantastic uses. I think the problem is one of nomenclature and extremely aggressive marketing by grifters. The reason I’m in this community isn’t to outright banish anything related to transformer-based tech, but to rail against the insanely overhyped, economy-wrecking shitshow that has commandeered the nebulous term “AI” when it’s really just LLMs.

            • FauxLiving@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              9 hours ago

              The reason I’m in this community isn’t to outright banish anything related to transformer-based tech, but to rail against the insanely overhyped, economy-wrecking shitshow that has commandeered the nebulous term “AI” when it’s really just LLMs.

              Same, I’m here because capitalism is doing serious damage to the world by taking a promising technology and massively over investing.

              I’m not here to side with the Luddites who reflexively downvote anything that says ‘AI’.

              Though, I will say that this is a nuanced opinion and so I understand that I’m going to be dog piled by the people who’re only here for low effort performative activism.

          • ell1e@leminal.spaceOP
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            9 hours ago

            We were talking about lemmy and LLMs. They’re not part of any use case you’re listing.

            But my apologies if I missed something here.

            • FauxLiving@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              3
              ·
              9 hours ago

              My point was that people are using the term ‘AI’ when they mean LLMs and/or Image generation.

              You asked for good AI uses, when you mean good LLM uses which is the only point I wanted to make.

              Yes, LLMs are pretty bad at most things. They’re usefulness is basically around that of a search engine or Stack Overflow. They’re often used as a crutch for junior coders, which damages their training and vibe coding is just a novelty… not a production-ready tool.

              I don’t disagree that LLMs are massively over hyped, just that they’re only a tiny portion of the AI technologies. Most of which people should be excited about.

              That’s why it’s frustrating seeing the confusion. LLMs suck, image generation is terrible for many reasons… but AI has many other uses than making 6 fingered people and shitty code.

              • commonmarmoset@reddthat.com
                link
                fedilink
                arrow-up
                3
                ·
                6 hours ago

                Adding perhaps an additional layer of nuance - You’re totally right that there is an nomenclature issue around AI, and that the technology (basically like most technology) is value neutral. But, I think it remains a valid decision to make a choice to personally avoid it, and to engage with services and communities accordingly.

                I’m perfectly happy to agree that there is “AI” use which is groovy. Maybe as result of narrowing the definition or using it conscientiously. I understand the difference forms it can come in. But me, personally, I want to use a service that strives for no AI, regardless of if it is good, bad, or neutral. Searching for a niche like this is actually why I started using lemmy (pretty recently).

                I don’t begrudge lemmy taking an approach like “AI must be disclosed and reviewed” as suggested here (https://github.com/LemmyNet/lemmy-docs/pull/414/changes). Let Lemmy party however it wants! Honestly, I appreciate the disclosure, because it lets me know upfront that this isn’t the niche I was looking for. No shade, but I’m out. Nothing but peace and love to everybody who remains.

              • ell1e@leminal.spaceOP
                link
                fedilink
                English
                arrow-up
                2
                ·
                7 hours ago

                I was asking for good uses of LLMs since we were talking about those. Sorry for being unclear.