Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Zekai, Liu, Mingwei, Chen, Zhenxi, Liang, Linxi, Chen, Yuxuan, Ou, Guangsheng, Wang, Yanlin, Li, Dan, Peng, Xin, Zheng, Zibin
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2509.25203
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912632361975808
author Zhang, Zekai
Liu, Mingwei
Chen, Zhenxi
Liang, Linxi
Chen, Yuxuan
Ou, Guangsheng
Wang, Yanlin
Li, Dan
Peng, Xin
Zheng, Zibin
author_facet Zhang, Zekai
Liu, Mingwei
Chen, Zhenxi
Liang, Linxi
Chen, Yuxuan
Ou, Guangsheng
Wang, Yanlin
Li, Dan
Peng, Xin
Zheng, Zibin
contents Code editing plays a vital role in software engineering, requiring developers to adjust existing code according to natural language instructions while keeping functionality intact and avoiding unnecessary modifications. However, commit-based datasets commonly used for this task are often noisy, lack diversity, and fail to reflect the style of real-world edit instructions. To address this, we introduce OpenCodeEdit, an open-source pipeline that leverages multiple LLMs to synthesize realistic code-edit triplets. The pipeline produces both concise "lazy" instructions and more detailed "descriptive" ones, and applies filtering based on diffs and topics to guarantee data quality and variety. Using this process, we construct OCEDataFT, a curated dataset of 20K samples. Fine-tuning three advanced base models on OCEDataFT leads to significant performance boosts on the CanItEdit benchmark, with relative pass@1 improvements ranging from 4.50% to 20.79%. Notably, the resulting models achieve performance close to closed-source systems, narrowing the gap to GPT-4 to just 3.54%, without relying on proprietary resources or manual annotation.
format Preprint
id arxiv_https___arxiv_org_abs_2509_25203
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Generating High-Quality Datasets for Code Editing via Open-Source Language Models
Zhang, Zekai
Liu, Mingwei
Chen, Zhenxi
Liang, Linxi
Chen, Yuxuan
Ou, Guangsheng
Wang, Yanlin
Li, Dan
Peng, Xin
Zheng, Zibin
Software Engineering
Artificial Intelligence
Code editing plays a vital role in software engineering, requiring developers to adjust existing code according to natural language instructions while keeping functionality intact and avoiding unnecessary modifications. However, commit-based datasets commonly used for this task are often noisy, lack diversity, and fail to reflect the style of real-world edit instructions. To address this, we introduce OpenCodeEdit, an open-source pipeline that leverages multiple LLMs to synthesize realistic code-edit triplets. The pipeline produces both concise "lazy" instructions and more detailed "descriptive" ones, and applies filtering based on diffs and topics to guarantee data quality and variety. Using this process, we construct OCEDataFT, a curated dataset of 20K samples. Fine-tuning three advanced base models on OCEDataFT leads to significant performance boosts on the CanItEdit benchmark, with relative pass@1 improvements ranging from 4.50% to 20.79%. Notably, the resulting models achieve performance close to closed-source systems, narrowing the gap to GPT-4 to just 3.54%, without relying on proprietary resources or manual annotation.
title Generating High-Quality Datasets for Code Editing via Open-Source Language Models
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2509.25203