Papers Code Search
“Code Search” 태그가 달린 논문 147편 · 필터 해제
Rethinking Negative Pairs in Code Search
Recently, contrastive learning has become a key component in fine-tuning code search models for software development efficiency and effectiveness. It pulls together positive code snippets while pushing negative samples a…
Code SearchContrastive LearningMutual Information EstimationRepresentation LearningLanguage Models are Universal Embedders
In the large language model (LLM) revolution, embedding is a key component of various systems. For example, it is used to retrieve knowledge or memories for LLMs, to build content moderation filters, etc. As such cases s…
Code SearchLanguage ModelingLanguage ModellingLarge Language Model+1Contrastive Prompt Learning-based Code Search based on Interaction Matrix
Code search aims to retrieve the code snippet that highly matches the given query described in natural language. Recently, many code pre-training approaches have demonstrated impressive performance on code search. Howeve…
Code SearchContrastive LearningPrompt LearningCode Representation Pre-training with Complements from Program Executions
Large language models (LLMs) for natural language processing have been grafted onto programming language modeling for advancing code intelligence. Although it can be represented in the text format, code is syntactically …
Code SearchLanguage ModelingLanguage ModellingLaminar: A New Serverless Stream-based Framework with Semantic Code Search and Code Completion
This paper introduces Laminar, a novel serverless framework based on dispel4py, a parallel stream-based dataflow library. Laminar efficiently manages streaming workflows and components through a dedicated registry, offer…
Code CompletionCode SearchCode SummarizationMELT: Mining Effective Lightweight Transformations from Pull Requests
Software developers often struggle to update APIs, leading to manual, time-consuming, and error-prone processes. We introduce MELT, a new approach that generates lightweight API migration rules directly from pull request…
Code SearchEvaluating and Optimizing the Effectiveness of Neural Machine Translation in Supporting Code Retrieval Models: A Study on the CAT Benchmark
Neural Machine Translation (NMT) is widely applied in software engineering tasks. The effectiveness of NMT for code retrieval relies on the ability to learn from the sequence of tokens in the source language to the seque…
Code SearchCode TranslationMachine TranslationNMT+2Constructing Multilingual Code Search Dataset Using Neural Machine Translation
Code search is a task to find programming codes that semantically match the given natural language queries. Even though some of the existing datasets for this task are multilingual on the programming language side, their…
Code SearchMachine TranslationNatural Language QueriesTranslationStructure-Aware Language Model Pretraining Improves Dense Retrieval on Structured Data
This paper presents Structure Aware Dense Retrieval (SANTA) model, which encodes user queries and structured data in one universal embedding space for retrieving structured data. SANTA proposes two pretraining methods to…
Code SearchLanguage ModelingLanguage ModellingRetrievalBackdooring Neural Code Search
Reusing off-the-shelf code snippets from online repositories is a common practice, which significantly enhances the productivity of software developers. To find desired code snippets, developers resort to code search eng…
Autonomous DrivingCode SearchNatural Language QueriesCCT-Code: Cross-Consistency Training for Multilingual Clone Detection and Code Search
We consider the well-known and important tasks of clone detection and information retrieval for source code. The most standard setup is to search clones inside the same language code snippets. But it is also useful to fi…
Clone DetectionCode SearchDecoderInformation Retrieval+1Searching by Code: a New SearchBySnippet Dataset and SnippeR Retrieval Model for Searching by Code Snippets
Code search is an important and well-studied task, but it usually means searching for code by a text query. We argue that using a code snippet (and possibly an error traceback) as a query while looking for bugfixing inst…
Code SearchRetrievalCodeT5+: Open Code Large Language Models for Code Understanding and Generation
Large language models (LLMs) pretrained on vast source code have achieved prominent progress in code intelligence. However, existing code LLMs have two main limitations in terms of architecture and pretraining tasks. Fir…
Arithmetic ReasoningCode CompletionCode GenerationCode Search+4The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generation
We present The Vault, a dataset of high-quality code-text pairs in multiple programming languages for training large language models to understand and generate code. We present methods for thoroughly extracting samples t…
Code GenerationCode SearchCode SummarizationCode Execution with Pre-trained Language Models
Code execution is a fundamental aspect of programming language semantics that reflects the exact behavior of the code. However, most pre-trained models for code intelligence ignore the execution trace and only rely on so…
Code GenerationCode SearchData AugmentationText-to-Code GenerationREINFOREST: Reinforcing Semantic Code Similarity for Cross-Lingual Code Search Models
This paper introduces a novel code-to-code search technique that enhances the performance of Large Language Models (LLMs) by including both static and dynamic features as well as utilizing both similar and dissimilar exa…
Code SearchContrastive LearningSemantic SimilaritySemantic Textual SimilarityNeuro-symbolic Zero-Shot Code Cloning with Cross-Language Intermediate Representation
In this paper, we define a neuro-symbolic approach to address the task of finding semantically similar clones for the codes of the legacy programming language COBOL, without training data. We define a meta-model that is …
C++ codeCode SearchOne Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarization
As pre-trained models automate many code intelligence tasks, a widely used paradigm is to fine-tune a model on the task dataset for each programming language. A recent study reported that multilingual fine-tuning benefit…
AllCode SearchCode SummarizationUnveiling Code Pre-Trained Models: Investigating Syntax and Semantics Capacities
Past research has examined how well these models grasp code syntax, yet their understanding of code semantics still needs to be explored. We extensively analyze seven code models to investigate how code models represent …
Code CompletionCode SearchLanguage ModellingProgram SynthesisYou Don't Know Search: Helping Users Find Code by Automatically Evaluating Alternative Queries
Tens of thousands of engineers use Sourcegraph day-to-day to search for code and rely on it to make progress on software development tasks. We face a key challenge in designing a query language that accommodates the need…
Code Search