Hacker News new | ask | show | jobs
by godelski 5 days ago

  >  It turns out that using a company's private codebases is one of the most reliable ways to do it.
This is a terrible way to do this. Has the same problems that the HumanEval[0] work had. Sure, they deduped the data, but it is very hard to actually do that. HumanEval has a lot of simple questions and the dataset is claimed to be unseen because they hand wrote "leetcode style" questions. Those questions can be simple like "return elements with incremented by 1". You can literally search GitHub and find the same canonical answers. But even if you somehow never find `return [i + 1 for i in l]` I bet you you'll find some variant like `return [elem + 1 for elem in myarray]`. Unfortunately, that's the same thing. The models are intended to learn variables so those aren't out of distribution nor meaningfully different from the training distribution. So you get highly overfit results (which is something we saw was very common in early models). I mean it is a compression machine. Of course it is going to abstract things away and learn `[x + 1 for x in y]`. That's part of the point, but also means you're testing something different than what was claimed.

[0] https://arxiv.org/abs/2107.03374