6 ms·
Of course if you include the "function header" from some code in the training data (below) it will prompt GPT to generate the rest of the function. That's kind
by samwillis 4y ago
Of course if you include the "function header" from some code in the training data (below) it will prompt GPT to generate the rest of the function. That's kind of exactly the point of it, it autocomplete on steroids.
// CSparse/Source/cs_gaxpy: sparse matrix times dense vector
// CSparse, Copyright (c) 2006-2022, Timothy A. Davis. All Rights Reserved.
// SPDX-License-Identifier: LGPL-2.1+
#include "cs.h"
/* y = A*x+y */
csi cs_gaxpy (const cs *A, const double *x, double *y)
It's like starting to sing "happy birthday to you" and being surprised that people in the room join in and finish the song.
Sure they make a valid point about including GPL code in the training data, but it's a little disingenuous to go to that extent to get Copilot to output the GPL code verbatim.
The sooner we have a test case go through the courts the better.
- HopenHeyHi 4y agoI think the concern is that the only reason that source attribution comment is there is because they haven't figured out how to better plagiarize/launder code. Otherwise the tool can go in the other direction and literally say "hey how about this function from project $foo?" with a full attribution. Apparently Google Bard does bother to do that.
- WithinReason 4y agoAnd then they have the audacity to claim It should be worrisome how easily GitHub Copilot spits out GPL code without being prompted adversarially right after prompting in adversarially.
- kerakaali 4y ago> It's like starting to sing "happy birthday to you" and being surprised that people in the room join in and finish the song. A very apt analogy that's funny in that the happy birthday song has its own history of copyright battles.
- samwillis 4y agoExactly why I chose it!
- pms 4y agoAre you suggesting that GPL licenses should be invalidated and everyone should be able to use GPL code broadly, because it's free anyway? Is this some kind of modern reversed version of Robin Hood: steal from the poor and give to the rich? Is this what you're standing for?
- pms 4y agoFunny, except the comparison makes no sense. Is the happy birthday song licensed, does it have commercial competition?
- pms 4y agoDid you just compare the happy birthday song to a function from GPL-licensed repository? Is the song licensed, does it have commercial competition? Sorry, but you sound just a little biased and greedy to me...