4 ms·
> Only if you ask it to. This isn't necessarily true. It's entirely possible for a model to regurgitate a chunk of GPL'd code without you knowing that's what
by regularfry 3y ago
> Only if you ask it to.
This isn't necessarily true. It's entirely possible for a model to regurgitate a chunk of GPL'd code without you knowing that's what it's done.
- spott 3y agoTrue, though I’m not sure this risk isn’t overblown. I’ve heard of a couple cases where someone got a copyright statement spit out, but I haven’t been able to find much more than the one or two that I’ve seen on hn. If you have more examples, I’d love to hear about them. Code is also tricky: there are a finite number of ways to write an algorithm, and I’m sure both that multiple people have written the same version of left pad for example, and that it is not possible to copyright something small like that. When the code gets bigger, the likelihood of an llm spitting out large chunks of GPL’d code seems vanishingly small (without asking for something specific like that). Though I’d love to see examples to the contrary.
- regularfry 3y agohttps://twitter.com/DocSparse/status/1581461734665367554 https://twitter.com/DocSparse/status/1581461734665367554 is the one I was thinking of. It's not just the copyright header in that case.
- spott 3y agoInteresting, though I think I would put those examples under a “will emit copyrighted code if prompted to”. I can’t think of a compelling reason someone would prompt for a sparse matrix function with a “cs_” unless they were searching for copyrighted code they knew existed. Though that is definitely a simpler prompt than I would have expected was necessary to get such a result. Thanks! (The first example also isn’t the same code. It is very close, and definitely similar in style, but it isn’t clear that code would a)run, or b) would work as expected. I need to sleep though, so I’m not sure how much that matters.)