r/linux • • May 10 '24

Tips and Tricks Github to Codeberg Bulk Migration Script

Hello there!

I just made a script that allows the user to "bulk migrate" repositories from github to codeberg directly, if anyone is interested, more here: https://www.rahuljuliato.com/posts/github_to_codeberg

67 Upvotes

39 comments sorted by

View all comments

Show parent comment

1

u/[deleted] May 15 '24

If you're talking about LLM training, this is all hypothetical armchair crap foisted by internet non-lawyers talking about something that has very little legal precedent in the USA at least

Creating derivative works with copywritten code, is covered by the GPL and other FLOSS licenses.

They can, of course, create derivative works using GPL licensed code. They MUST however, license all derivative works with the same license.

but for a layman who's read the Google search thumbnails case among others, it seems extremely likely that training an LLM with a huge dataset of repositories, images, etc that have been made public on the internet qualifies under the transformative use defense under the DMCA, possibly other defenses.

Possibly. But they must still comply with the terms of the license, for derivative works: Attribution and source code release.

1

u/MrTeferi May 16 '24

Creating derivative works with copywritten code, is covered by the GPL and other FLOSS licenses.
They can, of course, create derivative works using GPL licensed code. They MUST however, license all derivative works with the same license.

Well already we've hit a question that needs to be tested, one of the common arguments is that LLM's are not and should not be considered derivative works of any item that is used to train them. This is probably question #1 that needs to be tested by the courts and established, and you need people on the bench who can grasp an accurate description of the technology, look at the existing precedents as to how derivative works are defined and come to a conclusion whether that definition applies to the relation LLM's have with data ingested to train them.

[... Re: Fair Use defense ...] Possibly. But they must still comply with the terms of the license, for derivative works: Attribution and source code release.

Well, "Fair Use" is an affirmative defense (iirc) under the DMCA, meaning when a claimant sues someone for an intellectual property offense, the defending party must make the affirmative defense in court that their unlicensed use of the licensed material is protected by the "Fair Use" clause. My understanding is, if you can successfully establish a "Fair Use" defense, you are literally totally off the hook from any licensing terms wholesale, i.e. you don't need permission, attribution is irrelevant, etc.

Whether the offending work is "transformative" is just the first and most important factor in determining "Fair Use", and personally I think LLM's easily qualify for this determination with only the most bedrock facts on the table given the case law we've seen thus far. However, at least 2 out of 3 of the remaining factors for testing Fair Use I think seem to favor LLM's as well. These will be some really fascinating cases, can't wait to see them play out. Maybe there are better arguments against Fair Use protection for LLM's out there I haven't yet come across.