That sounds similar to how LLMs have been trained on GPL code and yet output is not (yet) considered derivative work
That sounds similar to how LLMs have been trained on GPL code and yet output is not (yet) considered derivative work