There you have the "most responsible way".
The GPL should be updated to prohibit code to be used for "learning" (i.e., regurgitating copyrighted fragments).