Re:Copilot regurgitating Quake code, including sweary comments
by sktrdie on Friday July 02, 2021 @01:58PM
(#27714651)
If they get rid of licensed stuff it should be ok no? I really want to use this and seems inevitable that we'll need it just as google translate needs all of the books + sites + comments it can get a hold of.
[ Parent
| on HN ]
Re:Copilot regurgitating Quake code, including sweary comments
by mmastrac on Friday July 02, 2021 @02:08PM
(#27714764)
Well... the whole training set is licensed, so you can't really get rid of it. I think that the technology they are using for this is just not ready.
Re:Copilot regurgitating Quake code, including sweary comments
by fragmede on Friday July 02, 2021 @02:23PM
(#27714950)
Just retrain the model using properly licensed code? ("just" is doing a ton of heavy lifting, but let's be real, that's not impossibly hard)
Re:Copilot regurgitating Quake code, including sweary comments
by Twirrim on Friday July 02, 2021 @09:16PM
(#27718568)
There's not many licenses that let you reuse code without including the same headers / licensing blurb. You're in public domain, non-copyleft territory. WTFPL etc.
Re:Copilot regurgitating Quake code, including sweary comments
by michaelmrose on Friday July 02, 2021 @07:48PM
(#27718191)
There is no such thing as properly licensed code because it is a function of the what is legally acceptable for your company and what it intends to do with the work.
Re:Copilot regurgitating Quake code, including sweary comments
by ianhorn on Friday July 02, 2021 @06:57PM
(#27717891)
Unlicensed code just means “all rights reserved.” You’d need to limit it to permissively licensed code and make sure you comply with their requirements.
Re:Copilot regurgitating Quake code, including sweary comments
by willis936 on Friday July 02, 2021 @10:39PM
(#27718940)
That would be a long list of restated license terms and attributions.
Re:Copilot regurgitating Quake code, including sweary comments
by eCa on Friday July 02, 2021 @06:18PM
(#27717629)
Which licenses would it be ok that the training material is licensed under, though? If it produces verbatim enough copies of eg. MIT licensed material, then attribution is required. Similar with many other open source-friendly licenses.
On the other hand, if only permissive licenses that also don't require attribution is used, well, then for a start, the available corpus is much smaller.
Re:Copilot regurgitating Quake code, including sweary comments
by nextaccountic on Saturday July 03, 2021 @02:20AM
(#27719763)
The overwhelming majority of code on Github, even code under permissive licenses, require attribution of the original authors.
Re:Copilot regurgitating Quake code, including sweary comments
by runeb on Friday July 02, 2021 @02:14PM
(#27714843)
How would they do that?
Re:Copilot regurgitating Quake code, including sweary comments
by oauea on Friday July 02, 2021 @04:18PM
(#27716359)
Read the LICENSE file in each repo.
Re:Copilot regurgitating Quake code, including sweary comments
by rovr138 on Friday July 02, 2021 @06:03PM
(#27717498)
What guarantees it’s intact?
Re:Copilot regurgitating Quake code, including sweary comments
by willis936 on Friday July 02, 2021 @10:40PM
(#27718947)
It doesn't need to be. If the license isn't positively exactly permissive then you can't use it.
Re:Copilot regurgitating Quake code, including sweary comments
by hermitdev on Sunday July 04, 2021 @02:23AM
(#27727633)
Can you even trust that the License in a random repo is accurate and expresses the actual copyright of all the contained code?
I guess my point is, you can't be positive that even if you're following the license in a repo you forked that the repo owner hasn't already violated someone else's license, and now transitively, so have you.
Re:Copilot regurgitating Quake code, including sweary comments
by icebraining on Sunday July 04, 2021 @03:22AM
(#27727878)
> Can you even trust that the License in a random repo is accurate and expresses the actual copyright of all the contained code?
In fact, that seems to be exactly the problem shown in the tweet - someone copy-pasted the quake source and slapped a different license on it, and copilot blindly trusted the new license.