paper-with-me

홈 › Papers

VersiCode: Towards Version-controllable Code Generation

2024-06-11 · Tongtong Wu, Weigang Wu, Xingyu Wang, Kang Xu, Suyu Ma, Bo Jiang, Ping Yang, Zhenchang Xing, Yuan-Fang Li, Gholamreza Haffari

Large Language Models (LLMs) have made tremendous strides in code generation, but existing research fails to account for the dynamic nature of software development, marked by frequent library updates. This gap significantly limits LLMs' deployment in realistic settings. In this paper, we propose two novel tasks aimed at bridging this gap: version-specific code completion (VSCC) and version-aware code migration (VACM). In conjunction, we introduce VersiCode, a comprehensive Python dataset specifically designed to evaluate LLMs on these two tasks, together with a novel evaluation metric, Critical Diff Check (CDC@1), which assesses code generation against evolving API requirements. We conduct an extensive evaluation on VersiCode, which reveals that version-controllable code generation is indeed a significant challenge, even for GPT-4o and other strong frontier models. We believe the novel tasks, dataset, and metric open up a new, important research direction that will further enhance LLMs' real-world applicability. The code and resources can be found at https://github.com/wutong8023/VersiCode.

📄 PDF Abstract BibTeX arXiv:2406.07411

Code (1)

wutong8023/versicode 공식 구현

Tasks

Code CompletionCode GenerationLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

Controllable 3D Face Generation with Conditional Style Code Diffusion

2023-12-21 · Xiaolong Shen, Jianxin Ma, Chang Zhou, Zongxin Yang

Generating photorealistic 3D faces from given conditions is a challenging task. Existing methods often rely on time-consuming one-by-one optimization approaches, which are not efficient for modeling the same distribution…

Data AugmentationFace Generation

The Illusion of Control: Why Bare Classifier Inversion Silently Fails in Concept-Bottleneck Text Generation

2026-08-24 · Qi Bing, Xiaowei Shao arxiv

Concept-bottleneck controllable generation routes multi-attribute control through a low-dimensional concept code that, at deployment, must be synthesised from a target attribute configuration. We study this problem in co…

Text Generation

MyPortrait: Morphable Prior-Guided Personalized Portrait Generation

2023-12-05 · Bo Ding, Zhenfeng Fan, Shuang Yang, Shihong Xia

Generating realistic talking faces is an interesting and long-standing topic in the field of computer vision. Although significant progress has been made, it is still challenging to generate high-quality dynamic faces wi…

FAST: Improving Controllability for Text Generation with Feedback Aware Self-Training

2022-10-06 · Junyi Chai, Reid Pryzant, Victor Ye Dong, Konstantin Golobokov 외

Controllable text generation systems often leverage control codes to direct various properties of the output like style and length. Inspired by recent work on causal inference for NLP, this paper reveals a previously ove…

AttributeCausal InferenceConditional Text Generationcounterfactual+1

MagicStick: Controllable Video Editing via Control Handle Transformations

2023-12-05 · Yue Ma, Xiaodong Cun, Sen Liang, Jinbo Xing 외

Text-based video editing has recently attracted considerable interest in changing the style or replacing the objects with a similar structure. Beyond this, we demonstrate that properties such as shape, size, location, mo…

Video EditingVideo Generation