Evaluating Large Language Models Trained on Code
Mark Chen, Jerry Tworek, Heewoo Jun, Wojciech Zaremba
- Published
- Jul 7, 2021
- Source
- arXiv
- URL
- https://arxiv.org/abs/2107.03374
Introduces Codex and the HumanEval benchmark of 164 hand-written programming problems graded by unit tests. Defines the pass@k metric.
The paper fine-tunes GPT models on public code and evaluates functional correctness rather than text similarity. It introduces pass@k with an unbiased estimator and discusses limitations and safety implications of code models.
Related models: Codex, GPT-3