4 ms·
But also, how would it even know if the code is copyrighted?
by afro88 3y ago
But also, how would it even know if the code is copyrighted?
- piannucci 3y agoSpeculating: perhaps the training data was labeled using top-of-file and top-of-repo copyright notices.
- silverwind 3y agoMicrosoft has very precise tools like the licensee ruby gem to determine a repo's license which I'm sure their bot is aware of while training on said repo.
- scoot 3y agoYou can't determine a repository's licence, because a (mono)repo may contain multiple projects, each potentially under a different license,
- pabs3 3y agoCode is copyrighted by default according to the law, very little code is actually public domain.
- afro88 3y agoUnderstood, but how does an LLM actually know that the code it's spitting out already exists somewhere else that isn't public domain?
- bskap 3y agoThere's four ways for code to not be copyrighted (in the US): 1. The author died more than 70 years ago or it was owned by a corporation and it's been 95 years since publication 2. It was written prior to 1989 and did not include a copyright notice. 3. It was written by the government 4. The author explicitly released it into the public domain 1 and 2 probably don't cover much code on the Internet. So unless it's a government repository and/or explicitly marked with a public domain notice, you can probably assume it's copyrighted.
- afro88 3y agoBut how does an LLM actually know and enforce this? It can be basically tricked into anything