paper-with-me

Papers

InCoder: A Generative Model for Code Infilling and Synthesis

2022-04-12 · Daniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang, Eric Wallace, Freda Shi, Ruiqi Zhong, Wen-tau Yih, Luke Zettlemoyer, Mike Lewis

Code is seldom written in a single left-to-right pass and is instead repeatedly edited and refined. We introduce InCoder, a unified generative model that can perform program synthesis (via left-to-right generation) as well as editing (via infilling). InCoder is trained to generate code files from a large corpus of permissively licensed code, where regions of code have been randomly masked and moved to the end of each file, allowing code infilling with bidirectional context. Our model is the first generative model that is able to directly perform zero-shot code infilling, which we evaluate on challenging tasks such as type inference, comment generation, and variable re-naming. We find that the ability to condition on bidirectional context substantially improves performance on these tasks, while still performing comparably on standard program synthesis benchmarks in comparison to left-to-right only models pretrained at similar scale. The InCoder models and code are publicly released. https://sites.google.com/view/incoder-code-models

📄 PDF Abstract BibTeX arXiv:2204.05999

Code (3)

dpfried/incoder 공식 구현 pytorch
eth-sri/sven
openai/human-eval-infilling

Tasks

Code GenerationComment GenerationProgram Synthesis

Similar Papers 제목 키워드 기반

InCoder-32B-Thinking: Industrial Code World Model for Thinking

2026-04-03 · Jian Yang, Wei Zhang, Jiajun Wu, Junhang Cheng 외 arxiv

Industrial software development across chip design, GPU optimization, and embedded systems lacks expert reasoning traces showing how engineers reason about hardware constraints and timing semantics. In this work, we prop…

Outline, Then Details: Syntactically Guided Coarse-To-Fine Code Generation

2023-04-28 · Wenqing Zheng, S P Sharan, Ajay Kumar Jaiswal, Kevin Wang 외

For a complicated algorithm, its implementation by a human programmer usually starts with outlining a rough control flow followed by iterative enrichments, eventually yielding carefully generated syntactic structures and…

Code GenerationLanguage ModelingLanguage ModellingProgram Synthesis

SantaCoder: don't reach for the stars!

2023-01-09 · Loubna Ben allal, Raymond Li, Denis Kocetkov, Chenghao Mou 외

The BigCode project is an open-scientific collaboration working on the responsible development of large language models for code. This tech report describes the progress of the collaboration until December 2022, outlinin…

Code GenerationPII Redaction

Revealing Disocclusions in Temporal View Synthesis through Infilling Vector Prediction

2021-10-17 · Vijayalakshmi Kanchana, Nagabhushan Somraj, Suraj Yadwad, Rajiv Soundararajan

We consider the problem of temporal view synthesis, where the goal is to predict a future video frame from the past frames using knowledge of the depth and relative camera motion. In contrast to revealing the disoccluded…

Temporal View Synthesis

InCoder-32B: Code Foundation Model for Industrial Scenarios

2026-03-17 · Jian Yang, Wei Zhang, Jiajun Wu, Junhang Cheng 외 arxiv

Recent code large language models have achieved remarkable progress on general programming tasks. Nevertheless, their performance degrades significantly in industrial scenarios that require reasoning about hardware seman…