Curious what the consensus is on how GH should have approached this to avoid such blowback. Best case scenario, they explained in advance on the GH blog they're going to be doing some work on ML and coding, and they'd like people to opt into their profile being read via a flag setting/or put a file in the repo that gives permission like robots.txt? Second best case scenario, same as first but opt out vs opt in, and l…
They should have only used code from projects that included a license that allow for commercial use or made their model openly available and/or free to use
All public GitHub code was used in training Copilot
121–130 of 734 posts
Re: All public GitHub code was used in training Copilot
#122Wouldn't it be the people publishing code written with Copilot that (potentially) violate any licenses? It doesn't seem to be that the tool violates anything, though it may put the _user_ at risk of violating something. Like, don't use it if you're worried about violating licenses, but I don't see how Microsoft could get in trouble for the tool. It doesn't write and publish code by itself.
Re: All public GitHub code was used in training Copilot
#123Earlier quoted context omitted.
Code (co)created with Copilot has to follow all the licenses of the source (heh) code. This generally means at the very least automatically including in projects getting help from Copilot a copy of all the licenses involved, and attribution for all the people the code of which Copilot has been trained on. (Not sure for the cases where there is no license and therefore normal copyright applies, but AFAIK this isn't th…
So I guess then, the first thing they should have done, is trained it to understand licenses, and used that as a first principle for how they built the system?
Re: All public GitHub code was used in training Copilot
#124Re: All public GitHub code was used in training Copilot
#125Ok, my curiosity has been fired here... I have conjured up two scenarios here: Let's say I use copilot to generate a bunch of code for an app, something substantial, and it regurgitates a load of bits and pieces from many sources it got from GitHub, I'd assume there won't be any attribution in it... it will be as if Copilot made the code itself (I know it sort of does but lets not split hairs!). I'm guessing the prev…
Copilot is a commercial paid service that generates money for Microsoft
Superficially at least, Copilot (from my understanding) is "copying" code, letting me use it in my app, and making money from it.
I'm just trying to wrap my head around it.
Let's be clear, I am not a lawyer, but it seems... strange!
Re: All public GitHub code was used in training Copilot
#126Out of curiosity, how do we define license violation in that case? I, as a human being, have trained by reading code, much of which is covered by licenses that are somehow not compatible with code I'm writing. Am I violating licenses? Asking seriously. It's really unclear to me where law and/or ethics put the boundaries. Also, I'd guess it's probably country dependent.
https://en.wikipedia.org/wiki/Clean_room_design sometimes? it's enough of an issue that companies explicitly avoid it by having two teams.
If the ML model essentially is just a very sophisticated search and helps you choose what to copy and helps you modify it to fit your code then it's 100% infringement. If it is actually writing code then maybe not.
Re: All public GitHub code was used in training Copilot
#127Ok, my curiosity has been fired here... I have conjured up two scenarios here: Let's say I use copilot to generate a bunch of code for an app, something substantial, and it regurgitates a load of bits and pieces from many sources it got from GitHub, I'd assume there won't be any attribution in it... it will be as if Copilot made the code itself (I know it sort of does but lets not split hairs!). I'm guessing the prev…
Famous code: https://en.wikipedia.org/wiki/Fast_inverse_square_root#Overv...
Re: All public GitHub code was used in training Copilot
#128It's been admitted again. This contraption by GitHub is really causing chaos in the open source world and has been trained upon all public GitHub code; essentially those who have their code hosted there publicly, gave them permission to train copilot on their code. Now they are complaining about it after all these problems [0]. I warned against hosting source code on GitHub and going all in on GitHub Actions, mainly…
Re: All public GitHub code was used in training Copilot
#129Re: All public GitHub code was used in training Copilot
#130Calling it “public” code feels like doublespeak. It’s most definitely NOT public domain code — it only happens to be hosted on GitHub and browsable ( but not copyable ) by people. “Source available for viewing” is very different from “public property” as the phrase is commonly understood: https://en.m.wikipedia.org/wiki/Public_property
That's some nasty walled garden terms... I wonder how much these kinds of ToS are actually legal ?