Those licenses still require you to display acknowledgements, copies of the original license, disclaimers etc.
When you include the source code in a project? Or distribute binaries created in whole or in part from the source code?
The licenses say exactly what the requirements are, and when you are obligated to follow those requirements. What do they say about training AI models on the code?
How exactly is that different from what's happening here?
That means my network now includes an exact copy of those books (encoded in a weird way but that is irrelevant). Should I be able to distribute my weights and ignore the copyright on the original books? Of course not!
In this case it is very unlikely that the network weights store much data from each individual github project, but it's definitely a sliding scale.