Retour aux articles
IAOpenAI News

Evaluating large language models trained on code

OpenAI July 7, 2021 Milestone Evaluating large language models trained on code Read paper (opens in a new window) Read blog Loading… Share Update on May 16, 2025: We launched Codex, a cloud-based software en...

Le flux RSS ne fournissait qu'un extrait. FlowMarket a récupéré le contenu public disponible depuis la page originale, sans contourner les contenus réservés.

July 7, 2021

Evaluating large language models trained on code

Evaluating Large Language Models Trained On Code

Update on May 16, 2025: We launched Codex, a cloud-based software engineering agent that can work on many tasks in parallel. Learn more ⁠ .

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.

  • Codex
  • Software & Engineering
  • Transformers
  • Compute Scaling
  • Language
  • Generative Models

Authors

Authors

Authors

Authors

Related articles

Three farmers using a mobile app outside

Jan 12, 2024

Wix cover image

May 29, 2025

WHOOP Coach HIIT

Jan 4, 2024

Besoin d'un workflow n8n ou d'aide pour l'installer ?

Après la veille, passez à l'action : trouvez un template n8n ou un créateur capable de l'adapter à vos outils.

Source

OpenAI News - openai.com

Voir la publication originale