paper-with-me

Papers

SteloCoder: a Decoder-Only LLM for Multi-Language to Python Code Translation

2023-10-24 · Jialing Pan, Adrien Sadé, Jin Kim, Eric Soriano, Guillem Sole, Sylvain Flamant

With the recent focus on Large Language Models (LLMs), both StarCoder (Li et al., 2023) and Code Llama (Rozi\`ere et al., 2023) have demonstrated remarkable performance in code generation. However, there is still a need for improvement in code translation functionality with efficient training techniques. In response to this, we introduce SteloCoder, a decoder-only StarCoder-based LLM designed specifically for multi-programming language-to-Python code translation. In particular, SteloCoder achieves C++, C#, JavaScript, Java, or PHP-to-Python code translation without specifying the input programming language. We modified StarCoder model architecture by incorporating a Mixture-of-Experts (MoE) technique featuring five experts and a gating network for multi-task handling. Experts are obtained by StarCoder fine-tuning. Specifically, we use a Low-Rank Adaptive Method (LoRA) technique, limiting each expert size as only 0.06% of number of StarCoder's parameters. At the same time, to enhance training efficiency in terms of time, we adopt curriculum learning strategy and use self-instruct data for efficient fine-tuning. As a result, each expert takes only 6 hours to train on one single 80Gb A100 HBM. With experiments on XLCoST datasets, SteloCoder achieves an average of 73.76 CodeBLEU score in multi-programming language-to-Python translation, surpassing the top performance from the leaderboard by at least 3.5. This accomplishment is attributed to only 45M extra parameters with StarCoder as the backbone and 32 hours of valid training on one 80GB A100 HBM. The source code is release here: https://github.com/sade-adrien/SteloCoder.

📄 PDF Abstract BibTeX arXiv:2310.15539

Code (1)

sade-adrien/stelocoder 공식 구현 pytorch

Tasks

Code GenerationCode TranslationDecoderMixture-of-ExpertsTranslation

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

IntelliCode Compose: Code Generation Using Transformer

2020-05-16 · Alexey Svyatkovskiy, Shao Kun Deng, Shengyu Fu, Neel Sundaresan

In software development through integrated development environments (IDEs), code completion is one of the most widely used features. Nevertheless, majority of integrated development environments only support completion o…

Code CompletionCode GenerationDecoder

Inseq: An Interpretability Toolkit for Sequence Generation Models

2023-02-27 · Gabriele Sarti, Nils Feldhus, Ludwig Sickert, Oskar van der Wal 외

Past work in natural language processing interpretability focused mainly on popular classification tasks while largely overlooking generation settings, partly due to a lack of dedicated tools. In this work, we introduce …

DecoderFeature ImportanceMachine TranslationText Generation+1

GPU-Accelerated WFST Beam Search Decoder for CTC-based Speech Recognition

2023-11-08 · Daniel Galvez, Tim Kaldewey

While Connectionist Temporal Classification (CTC) models deliver state-of-the-art accuracy in automated speech recognition (ASR) pipelines, their performance has been limited by CPU-based beam search decoding. We introdu…

CPUDecoderGPUspeech-recognition+1

CCT-Code: Cross-Consistency Training for Multilingual Clone Detection and Code Search

2023-05-19 · Anton Tikhonov, Nikita Sorokin, Dmitry Abulkhanov, Irina Piontkovskaya 외

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+1

Need for Speed: A Comprehensive Benchmark of JPEG Decoders in Python

2025-01-22 · Vladimir Iglovikov

Image loading represents a critical bottleneck in modern machine learning pipelines, particularly in computer vision tasks where JPEG remains the dominant format. This study presents a systematic performance analysis of …