← 返回资源分享
Evaluating Large Language Models Trained on Code
论文
论文
发布时间2021-07-07
发表arXiv:2107.03374
作者:Heewoo Jun,Igor Babuschkin,Alec Radford,Ilya Sutskever,Dario Amodei,Wojciech Zaremba,Raul Puri,Scott Gray,Lukasz Kaiser,Miles Brundage,Ariel Herbert-Voss,Gretchen Krueger,Jie Tang,Jared Kaplan,Sam McCandlish,Nick Ryder,Girish Sastry,Clemens Winter,Christopher Hesse,Mark Chen,Jerry Tworek,Qiming Yuan,Henrique Ponde de Oliveira Pinto,Harri Edwards,Yuri Burda,Nicholas Joseph,Greg Brockman,Alex Ray,Michael Petrov,Heidy Khlaaf,Pamela Mishkin,Brooke Chan,Mikhail Pavlov,Alethea Power,Mohammad Bavarian,Philippe Tillet,Felipe Petroski Such,Dave Cummings,Matthias Plappert,Fotios Chantzis,Elizabeth Barnes,William Hebgen Guss,Alex Nichol,Alex Paino,Nikolas Tezak,Suchir Balaji,Shantanu Jain,William Saunders,Andrew N. Carr,Jan Leike,Josh Achiam,Vedant Misra,Evan Morikawa,Matthew Knight,Mira Murati,Katie Mayer,Peter Welinder,Bob McGrew
详细介绍
We introduce Codex, a GPT language model fine-tuned on publicly available code from GitHub, and study its Python code-writing capabilities. A distinct production version of Codex powers GitHub Copilot. On HumanEval, a new evaluation set we release to measure functional correctness for synthesizing programs from docstrings, our model solves 28.8% of the problems, while GPT-3 solves 0% and GPT-J solves 11.4%. Furthermore, we find that repeated sampling from the model is a surprisingly effective strategy for producing working solutions to difficult prompts. Using this method, we solve 70.2% of our problems with 100 samples per problem. Careful investigation of our model reveals its limitations, including difficulty with docstrings describing long chains of operations and with binding operations to variables. Finally, we discuss the potential broader impacts of deploying powerful code generation technologies, covering safety, security, and economics.
代码仓库 (13)
openai/human-eval官方
2796gaurav/human-eval
superli3/codenaviTensorFlow
codedotal/gpt-code-clippy
vhellendoorn/code-lmsPyTorch
microsoft/PythonProgrammingPuzzles
superli3/CYRMPRTensorFlow
my-other-github-account/llm-humaneval-benchmarks
codefuse-ai/codefuse-evaluationPyTorch
ncoop57/gpt-code-clippyJAX
