IntelliCode compose: code generation using transformer

By Alexey Svyatkovskiy, Shao Kun Deng, Shengyu Fu, Neel Sundaresan. 2020

626 citations recorded by the source corpus.

In software development through integrated development environments (IDEs), code completion is one of the most widely used features. Nevertheless, majority of integrated development environments only support completion of methods and APIs, or arguments. In this paper, we introduce IntelliCode Compose – a general-purpose multilingual code completion tool which is capable of predicting sequences of code tokens of arbitrary types, generating up to entire lines of syntactically correct code. It leverages state-of-the-art generative transformer model trained on 1.2 billion lines of source code in Python, C#, JavaScript and TypeScript programming languages. IntelliCode Compose is deployed as a cloud-based web service. It makes use of client-side tree-based caching, efficient parallel implementation of the beam search decoder, and compute graph optimizations to meet edit-time completion suggestion requirements in the Visual Studio Code IDE and Azure Notebook. Our best model yields an average edit similarity of 86.7% and a perplexity of 1.82 for Python programming language.

Subfields: Artificial Intelligence, Information Systems, Software, Prompting & Reasoning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Jianfeng Gao
  3. Graham Neubig
  4. Percy Liang
  5. Quoc V. Le
  6. Luke S. Zettlemoyer
  7. Caiming Xiong
  8. Yoshua Bengio

In Information Systems

  1. Charles Sutton
  2. Miltiadis Allamanis
  3. Rishabh Singh
  4. Yanqiao Zhu
  5. Yichen Xu
  6. Daya Guo
  7. Nan Duan
  8. Prem Devanbu

In Software

  1. Charles Sutton
  2. Yue Wang
  3. Rishabh Singh
  4. Nan Duan
  5. Xinyun Chen
  6. Steven C. H. Hoi
  7. Marc Brockschmidt
  8. Daya Guo

In Prompting & Reasoning

  1. Denny Zhou
  2. Xinyun Chen
  3. Daya Guo
  4. Steven C. H. Hoi
  5. Yue Wang
  6. Nan Duan
  7. Jian Yin
  8. Julian McAuley

Citations in the corpus