Code quality is and will be a crucial factor while developing new software code, requiring appropriate tools to ensure functional and reliable code. Machine learning techniques are still rarely used for software engineering tools, missing out the potential benefits of its application. Natural language processing has shown the potential to process text data regarding a variety of tasks. We argue, that such models can also show similar benefits for software code processing. In this paper, we investigate how models used for natural language processing can be trained upon software code. We introduce a data retrieval pipeline for software code and train a model upon Java software code. The resulting model, JavaBERT, shows a high accuracy on the masked language modeling task showing its potential for software engineering tools.
JavaBERT: Training a transformer-based model for the Java programming language
JavaBERT, a model trained on software code using natural language processing techniques, demonstrates high accuracy in masked language modeling and has potential applications in software engineering tools.
- Year
- 2021
- Venue
- arXiv 2021
- Authors
- 2
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2110.10404ARXIV-DEFAULT
- TL;DR
- Semantic Scholar