CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing

Ahmed Elnaggar, Wei Ding, Llion Jones, Tom Gibbs, Tamas Feher +4 more
4/6/2021
cs.SEcs.AIcs.CL
transformer-attentioncontrastive-ssl

Official code: agemagician/CodeTrans (259 stars, Jupyter Notebook, MIT, last commit 2021-06-01).

Abstract

Currently, a growing number of mature natural language processing applications make people's life more convenient. Such applications are built by source code - the language in software engineering.

Show full abstract

However, the applications for understanding source code language to ease the software engineering process are under-researched. Simultaneously, the transformer model, especially its combination with transfer learning, has been proven to be a powerful technique for natural language processing tasks. These breakthroughs point out a promising direction for process source code and crack software engineering tasks. This paper describes CodeTrans - an encoder-decoder transformer model for tasks in the software engineering domain, that explores the effectiveness of encoder-decoder transformer models for six software engineering tasks, including thirteen sub-tasks. Moreover, we have investigated the effect of different training strategies, including single-task learning, transfer learning, multi-task learning, and multi-task learning with fine-tuning. CodeTrans outperforms the state-of-the-art models on all the tasks. To expedite future works in the software engineering domain, we have published our pre-trained models of CodeTrans. https://github.com/agemagician/CodeTrans

View on arXivView PDF

Code Implementations(1)

MIT

Pretrained Language Models for Source code

25933Jupyter NotebookOct 9, 20205 years agoMIT

Similar Papers

Cite this paper

@article{elnaggar2021codetrans,
  title  = {CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing},
  author = {Ahmed Elnaggar and Wei Ding and Llion Jones and Tom Gibbs and Tamas Feher and Christoph Angerer and Silvia Severini and Florian Matthes and Burkhard Rost},
  year   = {2021},
  eprint = {2104.02443},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.02443}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.02443.svg)](https://codeofpaper.com/paper/2104.02443)

Discussion