Earlier quoted context omitted.
It is learning though. It’s not just copying the code. Code gets turned into tokens and then it learns the next most likely token. The issue that I see most people talk about it the scale at which is learnt. A human will learn from other people’s code but not from every persons code.
The issue is that of copyright law WRT to derivative works. Machine transformations on original works does not create a new copyright for the person that directed the machine transformation. That's why you can't pirate a bunch of media by simply adding a red pixel to the righthand corner or by color shifting the video. Copyright law is very clear that if a machine does it, the original copyright on the input is kept.…
And the specifics of autoregressive pretraining is that it is lossy compression. Good luck finding which copyrighted materials have made it into the final weights.