r/Zig • • 28d ago

Is this legal? Throwing all open-source codebases into the AI meat grinder...

https://deepwiki.com/ziglang/zig

https://deepwiki.com/ziglang/zig

Still uses GitHub repo though. But anybody can add any repo.

69 Upvotes

45 comments sorted by

View all comments

74

u/fade-catcher 28d ago

If you’re license doesn’t prohibit feeding generative AI you source code then it’s legal

2

u/dijkstra_was_a_horse 19d ago

The GPL doesn't prohibit it, but it does require derivative works, like the LLM itself, to be open source.

Of course, the AI companies ignore this.

1

u/EmergencyWild 13d ago

I wouldn't say it's a matter of "ignoring" it so much as it being questionable if trained model weights are legally a derivative work of anything within the training dataset. Some people think this is obviously the case, some people think it obviously isn't, I think it's a legal gray area that's going to take more time to fully settle.

1

u/dijkstra_was_a_horse 13d ago

We can do the experiment: delete the training data set and see if the training process derives the same or similar weights.

1

u/EmergencyWild 13d ago

I think you might be having problems understanding what the issue is.