TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: OSS licence like Apache2, but No for AI training data?

2 pointsby erdoabout 2 years ago
Is there an OSS licence, similar to Apache2, but that restricts the ability for the code to be used in AI training data<p>I maintain a few small Apache 2 libraries, I&#x27;m not sure how I feel about my code being used for AI training data.<p>Would such a licence even makes sense? If not, what&#x27;s the most permissive licence you could have that still restricts use of the code in AI training data?<p>And what might be some unintended consequences of restricting the ability for your code to be used in that way (assuming that&#x27;s legally possible - and I do appreciate that it&#x27;s probably practically impossible)

4 comments

josephcsibleabout 2 years ago
There&#x27;s no such thing and there never can be. Any license that bans a specific use like that would be in violation of both the Free Software Definition and the Open Source Definition.
brucethemoose2about 2 years ago
Also, my 2c:<p>Using Apache 2.0 basically means you are indifferent about what others use your code for. I don&#x27;t see why AI training should be an exception... there are much more nefarious uses.
satvikpendemabout 2 years ago
If you want that, make your own proprietary license. It would be no different that what other companies are doing. But know that your license would likely stop many other users from using your product as well as not be open source anymore, by both the FSF and OS definitions.
brucethemoose2about 2 years ago
&gt; And what might be some unintended consequences of restricting the ability for your code to be used in that way (assuming that&#x27;s legally possible - and I do appreciate that it&#x27;s probably practically impossible)<p>It would poison other (human) users of your code with your license.