paper-with-me

Papers

CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis

2022-03-25 · Erik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu, Huan Wang, Yingbo Zhou, Silvio Savarese, Caiming Xiong

Program synthesis strives to generate a computer program as a solution to a given problem specification, expressed with input-output examples or natural language descriptions. The prevalence of large language models advances the state-of-the-art for program synthesis, though limited training resources and data impede open access to such models. To democratize this, we train and release a family of large language models up to 16.1B parameters, called CODEGEN, on natural language and programming language data, and open source the training library JAXFORMER. We show the utility of the trained model by demonstrating that it is competitive with the previous state-of-the-art on zero-shot Python code generation on HumanEval. We further investigate the multi-step paradigm for program synthesis, where a single program is factorized into multiple prompts specifying subproblems. To this end, we construct an open benchmark, Multi-Turn Programming Benchmark (MTPB), consisting of 115 diverse problem sets that are factorized into multi-turn prompts. Our analysis on MTPB shows that the same intent provided to CODEGEN in multi-turn fashion significantly improves program synthesis over that provided as a single turn. We make the training library JAXFORMER and model checkpoints available as open source contribution: https://github.com/salesforce/CodeGen.

📄 PDF Abstract BibTeX arXiv:2203.13474

Code (8)

salesforce/CodeGen 공식 구현 jax
salesforce/jaxformer 공식 구현 jax
2024-MindSpore-1/Code2/tree/main/model-1/codegen mindspore
DIRECT-BIT/SRA-MCTS
Mind23-2/MindCode-134 mindspore
eth-sri/sven
openlmlab/moss pytorch
openmoss/moss pytorch

Tasks

Code GenerationHumanEvalLanguage ModelingLanguage ModellingLarge Language ModelProgram Synthesis

Methods 이 논문이 사용한 방법론

CodeGen CodeGen is an autoregressive transformers with next-token prediction language modeling as the learning objective trained on a natural language corpus and programming language…

Similar Papers 제목 키워드 기반

PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedback

2024-11-18 · Yun Peng, Akhilesh Deepak Gotmare, Michael Lyu, Caiming Xiong 외

Large Language Models (LLMs) are widely adopted for assisting in software development tasks, yet their performance evaluations have narrowly focused on the functional correctness of generated code. Human programmers, how…

HumanEvalmbpp

Execution-Based Evaluation for Open-Domain Code Generation

2022-12-20 · Zhiruo Wang, Shuyan Zhou, Daniel Fried, Graham Neubig

To extend the scope of coding queries to more realistic settings, we propose ODEX, the first Open-Domain EXecution-based natural language (NL) to Python code generation dataset. ODEX has 945 NL-Code pairs spanning 79 div…

Code GenerationMemorization

Code Generation by Differential Test Time Scaling

2026-05-19 · Yifeng He, Ethan Wang, Jicheng Wang, Xuanxin Ouyang 외 arxiv

Test-time scaling has emerged as a promising approach for improving code generation by exploring large solution spaces at inference time. However, existing methods often rely on public test cases that are unavailable in …

Code Generation

CodegenBench: Can LLMs Write Efficient Code Across Architectures?

2026-06-01 · Jie Li, Wenzhao Wu, Junqi Hu, Qinrui Zheng 외 arxiv

While large language models (LLMs) have been extensively evaluated on code generation tasks for general-purpose programming and GPU-accelerated environments (e.g., PyTorch, CUDA), their capabilities in CPU-oriented high-…

Code Generation

Empowering AI to Generate Better AI Code: Guided Generation of Deep Learning Projects with LLMs

2025-04-21 · Chen Xie, Mingsheng Jiao, Xiaodong Gu, Beijun Shen

While large language models (LLMs) have been widely applied to code generation, they struggle with generating entire deep learning projects, which are characterized by complex structures, longer functions, and stronger r…

Code GenerationDeep Learning