upvote
In both Bartz v. Anthropic and Kadrey v. Meta it was ruled that training on copyrighted books is fair use. There's no reason to believe that code has more protection against fair use than books.
reply
Copyright or fair use is not the issue here - the licensing is.
reply
If it's fair use the license doesn't apply. Licenses aren't required for fair use.
reply
Let me put it this way. Instead of today's github showing you a repo and its license pretty much on the front page, imagine if prior to you being able to see the code (or if you typed git clone into your CLI), you received the message:

"<boiler plate MIT license text with exceptions>

Exception: If you are Anthropic PBC or Open AI or <Big AI co name with egregious ToS>, you are not allowed to use this code for training, inference etc"

and you had to click "I agree" to proceed, that'd be under contract law - the very law that allows Anthropic's ToS to stop providing their services to you if you violate them.

(I'm not a lawyer, but this is my best understanding of how this might work).

reply