GenX: Mastering Code and Test Generation with Execution Feedback
원문 초록
Recent advancements in language modeling have enabled the translation of natural language into code, and the use of execution feedback to improve code generation. However, these methods often rely heavily on pre-existing test cases, which may not always be available or comprehensive. In this work, we propose a novel approach that concurrently trains a code generation model and a test generation model, utilizing execution feedback to refine and enhance the performance of both. We introduce two strategies for test and code data augmentation and a new scoring function for code and test ranking. We experiment on the APPS dataset and demonstrate that our approach can effectively generate and augment test cases, filter and synthesize correct code solutions, and rank the quality of generated code and tests. The results demonstrate that our models, when iteratively trained with an increasing number of test cases and code solutions, outperform those trained on the original dataset.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Kodezi Chronos: A Debugging-First Language Model for Repository-Scale, Memory-Driven Code Understanding
Language Modeling by Language Models
Sampling from Your Language Model One Byte at a Time
Iceberg: Enhancing HLS Modeling with Synthetic Data
Evolution without Large Models: Training Language Model with Task Principles
A Large Language Model-Empowered Agent for Reliable and Robust Structural Analysis
토론
이 논문과 연결된 포럼 글이 아직 없습니다.