BERT2Code: Can Pretrained Language Models be Leveraged for Code Search?
원문 초록
Millions of repetitive code snippets are submitted to code repositories every day. To search from these large codebases using simple natural language queries would allow programmers to ideate, prototype, and develop easier and faster. Although the existing methods have shown good performance in searching codes when the natural language description contains keywords from the code, they are still far behind in searching codes based on the semantic meaning of the natural language query and semantic structure of the code. In recent years, both natural language and programming language research communities have created techniques to embed them in vector spaces. In this work, we leverage the efficacy of these embedding models using a simple, lightweight 2-layer neural network in the task of semantic code search. We show that our model learns the inherent relationship between the embedding spaces and further probes into the scope of improvement by empirically analyzing the embedding methods. In this analysis, we show that the quality of the code embedding model is the bottleneck for our model's performance, and discuss future directions of study in this area.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Zero-Shot Cross-Domain Code Search without Fine-Tuning
Rewriting the Code: A Simple Method for Large Language Model Augmented Code Search
Constructing Multilingual Code Search Dataset Using Neural Machine Translation
Backdooring Neural Code Search
MGS3: A Multi-Granularity Self-Supervised Code Search Framework
Knowledge Graph Based Repository-Level Code Generation
토론
이 논문과 연결된 포럼 글이 아직 없습니다.