Products like GitHub Copilot (https://news.ycombinator.com/item?id=27676266) use open source code to train their "intelligent" code complete suggestions.
I want to release some open source code, but I don't want to make the mistake of training my replacement.
Are there any open source licenses that explicitly forbid use when training an AI?
Github/OpenAI's defense is "training ML systems on public data is fair use" (https://news.ycombinator.com/item?id=27678354). Unless this assertion gets invalidated in courts I think they mostly don't care about wordage in your license
> I want to release some open source code, but I don't want to make the mistake of training my replacement.
Most of a software engineer's value is not in the code they write. By far and large employers care instead that you solve their problems. Code's just a by-product, means to achieve that.