Skip to content

Commit a8ff1a7

Browse files
author
Miltos Allamanis
committed
Add Xu et al.
1 parent 5c58de8 commit a8ff1a7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: publication
3+
title: "A Systematic Evaluation of Large Language Models of Code"
4+
authors: Frank F. Xu, Uri Alon, Graham Neubig, Vincent J. Hellendoorn
5+
conference:
6+
year: 2022
7+
bibkey: xu2022systematic
8+
additional_links:
9+
- {name: "ArXiV", url: "https://arxiv.org/abs/2202.13169"}
10+
tags: ["Transformer", "language model"]
11+
---
12+
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 (Chen et al., 2021)) 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 open-source 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, which 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 this https URL, which enables future research and application in this area.

0 commit comments

Comments
 (0)