paper-with-me

Papers

AVATAR: A Parallel Corpus for Java-Python Program Translation

2021-08-26 · Wasi Uddin Ahmad, Md Golam Rahman Tushar, Saikat Chakraborty, Kai-Wei Chang

Program translation refers to migrating source code from one programming language to another. It has tremendous practical value in software development, as porting software across languages is time-consuming and costly. Automating program translation is of paramount importance in software migration, and recently researchers explored unsupervised approaches due to the unavailability of parallel corpora. However, the availability of pre-trained language models for programming languages enables supervised fine-tuning with a small number of labeled examples. Therefore, we present AVATAR, a collection of 9,515 programming problems and their solutions written in two popular languages, Java and Python. AVATAR is collected from competitive programming sites, online platforms, and open-source repositories. Furthermore, AVATAR includes unit tests for 250 examples to facilitate functional correctness evaluation. We benchmark several pre-trained language models fine-tuned on AVATAR. Experiment results show that the models lack in generating functionally accurate code.

📄 PDF Abstract BibTeX arXiv:2108.11590

Code (1)

wasiahmad/avatar 공식 구현 pytorch

Tasks

Translation

Similar Papers 제목 키워드 기반

Syntax and Domain Aware Model for Unsupervised Program Translation

2023-02-08 · Fang Liu, Jia Li, Li Zhang

There is growing interest in software migration as the development of software and society. Manually migrating projects between languages is error-prone and expensive. In recent years, researchers have begun to explore a…

Cross-Lingual TransferTranslation

Can Programming Languages Boost Each Other via Instruction Tuning?

2023-08-31 · Daoguang Zan, Ailun Yu, Bo Shen, Jiaxin Zhang 외

When human programmers have mastered a programming language, it would be easier when they learn a new programming language. In this report, we focus on exploring whether programming languages can boost each other during …

HumanEval

Leveraging Automated Unit Tests for Unsupervised Code Translation

2021-10-13 · ICLR 2022 4 · Baptiste Roziere, Jie M. Zhang, Francois Charton, Mark Harman 외

With little to no parallel data available for programming languages, unsupervised methods are well-suited to source code translation. However, the majority of unsupervised machine translation approaches rely on back-tran…

Code TranslationMachine TranslationSentenceTranslation+1

JS-son -- A Lean, Extensible JavaScript Agent Programming Library

2020-03-10 · Timotheus Kampik, Juan Carlos Nieves

A multitude of agent-oriented software engineering frameworks exist, most of which are developed by the academic multi-agent systems community. However, these frameworks often impose programming paradigms on their users …

Achieving Fairness in DareFightingICE Agents Evaluation Through a Delay Mechanism

2023-12-26 · Chollakorn Nimpattanavong, Thai Van Nguyen, Ibrahim Khan, Ruck Thawonmas 외

This paper proposes a delay mechanism to mitigate the impact of latency differences in the gRPC framework--a high-performance, open-source universal remote procedure call (RPC) framework--between different programming la…

Decision MakingFairness