• ell1e@leminal.space
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 days ago

    I’m not a lawyer but I’m really unsure if there’s even some safe guess like two lines. E.g. if you look at lyrics, I think people have been sued less - not that I would know for sure, though, and no idea if that allows any conclusions for code…

    • communism@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      Well, depends on what the line is, right? Like, you’d have a hard time copyrighting

      int i = 0;
      

      because millions of people write that line of code.

      But if it’s something unique and, say, identifiably Microsoft’s code, then yes, you probably would not have legal grounds to stand on.

      In the context of the OP, of course, if you’re using an LLM just to write int i = 0; then you might be stupid. But possibly if you’re using LLMs to do tedious tasks like writing unit tests then you might be able to argue that they’re generic enough to not infringe copyright even if the legal situation is resolved in favour of LLM output belonging to the IP holders of the training data. It’s just a legal grey area, which is presumably why so many projects are concerned about merging LLM output.

      • ell1e@leminal.space
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 days ago

        The point I was making was rather, there is no guaranteed safe length and you probably don’t want to make that call as a maintainer. Unless you’re a lawyer that happens to do FOSS, I guess.