Does a license like this exist?

  • plz1@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    Doesn’t matter. The companies will do it anyways and make you sue to stop them, at whic point they’ll exhaust your resources long before any potential victory in court.

  • FaceDeer@fedia.io
    cake
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    It may be that such a license can’t exist. The way these viral copyleft licenses work is that they offer things to people who accept them that copyright otherwise doesn’t permit. The usual example: you can distribute copies of this work (a thing that copyright prohibits you from doing by default) but in exchange you must release any derivative works you make under the same licence.

    The problem is that you actually can reject that licence. You can download the software (that’s allowed because the person distributing the software agreed to the copyleft license) and then decide you’re not going to accept the license that came with it. At that point you’re restricted by ordinary copyright and can only do the things you’d normally do with it.

    There have already been court cases in the US that have ruled that training an AI is fair use, and the resulting model is not a derivative work covered by the copyright of the original. So you can just go ahead and train the AI at that point.

    • XLE@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      (Facedeer is a prolific pro-AI concern troll from Reddit, so take his post here with a huge grain of salt)

  • BrikoX@lemmy.zip
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 days ago

    There are various licenses that do that, but by definition they are not open source. Those two things are mutually exclusive.

    • Jakeroxs@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

      I find it very interesting the sudden abhorence of the masses to ignoring copyright, what happened to all the pirates? The shift to “copyright is good actually” by antiAI folks is bewildering.

      Y’all really think the system is set up to protect the little folks in the first place?

      I thought the whole point of open source is sharing 🤷

      Edit: Makes me think of “socialists” who would deny the basic rights they’re saying they’re fighting for from “rich” people.

      • BrikoX@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        Not sure if you are specifically talking to me, but yeah I do find it strange.

        All the recent lawsuits between tech companies and publishers and people somehow became defenders of publshers when those fuckers are the same people that are exploiting creative people in the first place. Creative people are not the beneficiaries of all these settlements that are happening.

        I think it’s all the anger of self-published creators with following who convincing people that they are being destroyed and those people are blindly directing that anger at tech companies not fully understanding the situation.

        • Jakeroxs@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          6 days ago

          Completely agree, and my comment wasn’t really directed at you, but I figured you saw the… Oddness of the request with how you worded your response.

  • asudox@lemmy.asudox.dev
    link
    fedilink
    arrow-up
    12
    ·
    7 days ago

    I found this, which adds additional text to the existing licenses to prohibit training an AI on the licensed code: https://github.com/non-ai-licenses/non-ai-licenses

    Though, per OSI’s definition, your code probably would no longer be open source, since training an LLM is technically considered a field of endeavour:

    OSD number 6:

    The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      Maybe you could say that AI training is not a use of the program, it is a use of the source code.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        OSI is not US court (or at least I hope not).
        Playing on words isn’t going to get the license accepted.

        On the other hand, why does it have to be accepted?
        You are doing something different. Just do the different thing.

    • Venia Silente@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      We need a new field of licensing, something like Ethical Source License. With AI being a thing on-the-field, and even before tbh, Open Source has alas become a paradigm of the past.

  • poVoq@slrpnk.net
    link
    fedilink
    arrow-up
    9
    ·
    7 days ago

    The problem is that the AI companies claim they are just “reading” the code to let their AI models learn from it, thus licenses / copyright doesn’t apply in their interpretation of the situation.

    • cat_fishing@feddit.onlineOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 days ago

      The interesting thing is that from my testing with very niche code, it downright copied the only online example (my repo.) It even reused my variable names.

      • poVoq@slrpnk.net
        link
        fedilink
        arrow-up
        7
        ·
        7 days ago

        Yeah, but you (or someone in a similar situation) will have to take them to court for the legal situation to be clarified. Just putting another license on the code will not stop them.

  • TomAwezome@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    7 days ago

    As nice as this would be, it’s not very likely… Licenses are usually limp suggestions from the perspective of companies with billions of dollars. AI companies train on millions of copyrighted materials, both literature and art, without any express permission from the authors or artists, and with essentially no recourse or compensation to the authors. You could append a ‘no AI training’ clause to an existing license like the MIT license, but the impact that will have will mostly be brief personal satisfaction and won’t change what the AI companies do. It’s genuinely more useful to keep code proprietary to prevent it from being used to train AI models.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 days ago

    Licensing only works as well as enforcing it. How do you show a LLM consumed your code as part of its training data?

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      Some authors typed the first few sentences of their book and the LLM spit out the rest.

      • FaceDeer@fedia.io
        cake
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        7 days ago

        That generally only happens in cases of overfitting, where the model was trained on a poorly de-duplicated data set that contains many copies of that book (or excerpts, quotes, and so forth). This is considered a flaw by AI trainers and a lot of work goes into sanitizing the training data to prevent it.

  • pulsewidth@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    7 days ago

    Literally any license that says any derivatives of your work must include attribution, bonus points if you use a license that says derivative works must be shared under the same license, eg GPL or MIT.

    The AI Bros will take it anyway though and ignore your license, and the courts are very pro-business and AI is like half the US economy at this point, so it’s probably all pretty pointless.

    They’re currently being sued for just that in Doe’s v. GitHub et al, which has already been going on for years. Currently its waiting to be scheduled in the 9th circuit, they’ve already been waiting 18 months.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    Technically, a lot of them already disallow this without maintaining copyright notices, which the AI companies aren’t doing. I doubt the AI companies would follow the new license, but at least it would be even more explicitly illegal.

  • Alex@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    Freedom 1 of the four software freedoms is:

    The freedom to study how the program works, and change it to make it do what you wish (freedom 1). Access to the source code is a precondition for this.

  • DandomRude@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    The thing about licenses is that they only work if they can be defended in court. In the US system in particular, it is simply impossible for a private individual to do so (even multi-billion-dollar corporations with their highly paid lawyers seem to be powerless against artificially inflated AI giants such as OpenAI).

    Therefore, it must be assumed that even restrictive licenses will simply be disregarded.

  • Lembot_0006@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    5
    ·
    7 days ago

    You can create your own license with whatever idiotic limitations you wish.

    Example: Litsenzy – zis code for no bad peple, no robots and no to that ugly shit who stepped on my foot yesterday in ze tram.