2020

SCELMo: Source Code Embeddings from Language Models

Karampatsis, Rafael - Michael, Sutton, Charles

Understand

Continuous embeddings of tokens in computer programs have been used to support a variety of software development tools, including readability, code search, and program repair.

  • Contextual embeddings are common in natural language processing but have not been previously applied in software engineering.
  • We introduce a new set of deep contextualized word representations for computer programs based on language models.
  • We train a set of embeddings using the ELMo (embeddings from language models) framework of Peters et al (2018).

Reading the bibliography…