paper-with-me

홈 › Papers

MultiCoder: Multi-Programming-Lingual Pre-Training for Low-Resource Code Completion

2022-12-19 · Zi Gong, Yinpeng Guo, Pingyi Zhou, Cuiyun Gao, Yasheng Wang, Zenglin Xu

Code completion is a valuable topic in both academia and industry. Recently, large-scale mono-programming-lingual (MonoPL) pre-training models have been proposed to boost the performance of code completion. However, the code completion on low-resource programming languages (PL) is difficult for the data-driven paradigm, while there are plenty of developers using low-resource PLs. On the other hand, there are few studies exploring the effects of multi-programming-lingual (MultiPL) pre-training for the code completion, especially the impact on low-resource programming languages. To this end, we propose the MultiCoder to enhance the low-resource code completion via MultiPL pre-training and MultiPL Mixture-of-Experts (MoE) layers. We further propose a novel PL-level MoE routing strategy (PL-MoE) for improving the code completion on all PLs. Experimental results on CodeXGLUE and MultiCC demonstrate that 1) the proposed MultiCoder significantly outperforms the MonoPL baselines on low-resource programming languages, and 2) the PL-MoE module further boosts the performance on six programming languages. In addition, we analyze the effects of the proposed method in details and explore the effectiveness of our method in a variety of scenarios.

📄 PDF Abstract BibTeX arXiv:2212.09666

Code (0)

등록된 구현이 없습니다.

Tasks

Code CompletionMixture-of-Experts

Similar Papers 제목 키워드 기반

CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation

2023-10-08 · Weixiang Yan, Yuchen Tian, Yunzhe Li, Qian Chen 외

Recent code translation techniques exploit neural machine translation models to translate source code from one programming language to another to satisfy production compatibility or to improve efficiency of codebase main…

Code TranslationMachine TranslationTranslation

On the Transferability of Pre-trained Language Models for Low-Resource Programming Languages

2022-04-05 · Fuxiang Chen, Fatemeh Fard, David Lo, Timofey Bryksin

A recent study by Ahmed and Devanbu reported that using a corpus of code written in multilingual datasets to fine-tune multilingual Pre-trained Language Models (PLMs) achieves higher performance as opposed to using a cor…

Code SearchCode Summarization

MultiLingPoT: Enhancing Mathematical Reasoning with Multilingual Program Fine-tuning

2024-12-17 · Nianqi Li, Zujie Liang, Siyu Yuan, Jiaqing Liang 외

Program-of-Thought (PoT), which aims to use programming language instead of natural language as an intermediate step in reasoning, is an important way for LLMs to solve mathematical problems. Since different programming …

Mathematical Reasoning

AdaCCD: Adaptive Semantic Contrasts Discovery Based Cross Lingual Adaptation for Code Clone Detection

2023-11-13 · Yangkai Du, Tengfei Ma, Lingfei Wu, Xuhong Zhang 외

Code Clone Detection, which aims to retrieve functionally similar programs from large code bases, has been attracting increasing attention. Modern software often involves a diverse range of programming languages. However…

Clone DetectionContrastive Learning

One Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarization

2023-03-28 · Deze Wang, Boxing Chen, Shanshan Li, Wei Luo 외

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 Summarization