I would be fine with an AI being trained on my code, provided that the weights of said AI would then be published under the same license as my code.
Is there a license for that?