Empirical Study of Transformers for Source Code
원문 초록
Initially developed for natural language processing (NLP), Transformers are now widely used for source code processing, due to the format similarity between source code and text. In contrast to natural language, source code is strictly structured, i.e., it follows the syntax of the programming language. Several recent works develop Transformer modifications for capturing syntactic information in source code. The drawback of these works is that they do not compare to each other and consider different tasks. In this work, we conduct a thorough empirical study of the capabilities of Transformers to utilize syntactic information in different tasks. We consider three tasks (code completion, function naming and bug fixing) and re-implement different syntax-capturing modifications in a unified framework. We show that Transformers are able to make meaningful predictions based purely on syntactic information and underline the best practices of taking the syntactic information into account for improving the performance of the model.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Development
GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generation
Automating Code-Related Tasks Through Transformers: The Impact of Pre-training
MarsCode Agent: AI-native Automated Bug Fixing
SecureFalcon: Are We There Yet in Automated Software Vulnerability Detection with LLMs?
A Simple Approach for Handling Out-of-Vocabulary Identifiers in Deep Learning for Source Code
토론
이 논문과 연결된 포럼 글이 아직 없습니다.