I wish there were a “robots.txt” file for Git to disallow certain bots from training on anything I have written.
I wish there were a “robots.txt” file for Git to disallow certain bots from training on anything I have written.
It’s simple. If you are concerned by this, don’t host your repositories on GitHub.
https://twitter.com/NoraDotCodes/status/1412741339771461635
There's also other references that GitHub public repos weren't the only source. They trawl other publicly readable code.
My impression (NOT A LAWYER) is that by hosting your code in a public repo on GitHub, you agree to their terms and give them the right to "read" your code including training AI models on it. Or at least that's what they're banking on.
Go host on Sourcehut or self-host with Gitea, and I would think it unlikely (but not impossible) that any big company would use your code to train their AI.
Just imagine, there's really nothing preventing people from scraping your blog to train their natural language processing AI or whatever, why would code be any different? Even if you put up a big sign saying you don't consent to having your data ingested by a neural network, I doubt it will get noticed anyway...
People have been taking large OSS codebases (eg. Linux kernel) for various statistical analyses. AI is just doing the same thing in a more sophisticated manner.
But as long as you give the public access to your code, they can study it and learn from it. Humans and machines.
If Copilot were to reproduce a larger part of, say, an MIT-licensed codebase or almost any other permissive licence, then they should legally provide attribution. I'm pretty sure that they don't even have an option to provide such specific attribution, which means that either they believe that the code copied from any one source is below the relevant threshold or they're just ignoring copyright.
It would be also the end of GitHub, as most users probably won’t accept such terms.
Although judging from the results of this test it kind of seems like for a lot of accounts that's already happened.