A systematic evaluation of large language models of code

The work

AuthorsFrank F. Xu; Uri Alon; Graham Neubig; Vincent J. Hellendoorn
Typeinproceedings
Year2022
Citekeyxu2022systematic

Where it appeared

Published inProceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming
PublisherAssociation for Computing Machinery
Pages1--10

Abstract

Large language models (LMs) of code have recently shown tremendous promise in completing code and synthesizing code from natural language descriptions. However, the current state-of-the-art code LMs (e.g., Codex) are not publicly available, leaving many questions about their model and data design decisions. We aim to fill in some of these blanks through a systematic evaluation of the largest existing models: Codex, GPT-J, GPT-Neo, GPT-NeoX-20B, and CodeParrot, across various programming languages. Although Codex itself is not open-source, we find that existing opensource models do achieve close results in some programming languages, although targeted mainly for natural language modeling. We further identify an important missing piece in the form of a large open-source model trained exclusively on a multi-lingual corpus of code. We release a new model, PolyCoder, with 2.7B parameters based on the GPT-2 architecture, that was trained on 249GB of code across 12 programming languages on a single machine. In the C programming language, PolyCoder outperforms all models including Codex. Our trained models are open-source and publicly available at https://github.com/VHellendoorn/Code-LMs, which enables future research and application in this area. We have an online appendix at https://arxiv.org/abs/2202.13169.

A copy is held

pdf, 536.1 kB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via openalex
Added2026-08-04 00:00 UTC
Approved bya person 2026-08-27 17:55 UTC

Cite it as

@inproceedings{xu2022systematic,
  title        = {A systematic evaluation of large language models of code},
  author       = {Frank F. Xu and Uri Alon and Graham Neubig and Vincent J. Hellendoorn},
  year         = {2022},
  booktitle    = {Proceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming},
  pages        = {1--10},
  publisher    = {Association for Computing Machinery},
  eprint       = {2202.13169},
  doi          = {10.1145/3520312.3534862},
}

This record lives at https://refs.drheap.org/xu2022systematic/ and will keep doing so.