Hacker News new | ask | show | jobs
by varajelle 1316 days ago
I take your code and I compress it in a tar.gz file. Il call that file "the model". Then I ask an algorithm (Gzip) to infer some code using "the model". The algorithm (gzip) just learned how to code by reading your code. It just happened to have it memorized in its model.
1 comments

Yeah, and that’s completely fine.

I’ve seen this point made before, but it assumes you use the entire input as output, which is silly.

Oh no, I'm not using the entire input, just a few functions of interest. And not the copyright headers of course.