PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
July 7, 20211,463 citationsOpen Access

Evaluating Large Language Models Trained on Code

MCMark ChenJTJerry TworekHJHeewoo Jun

Key Points

Key points are not available for this paper at this time.

Abstract

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Chen et al. (2021) studied this question.

synapsesocial.com/papers/69d9d9d0a1d151c65f6854d0https://doi.org/10.48550/arxiv.2107.03374
Ask AI
Helpful
Bookmark
Share
View Full Paper