Transformers in source code generation: A comprehensive survey

计算机科学 变压器 程序设计语言 源代码 电气工程 电压 工程类
作者
Hadi Ghaemi,Zakieh Alizadehsani,Amin Shahraki,Juan M. Corchado
出处
期刊:Journal of Systems Architecture [Elsevier BV]
卷期号:153: 103193-103193
标识
DOI:10.1016/j.sysarc.2024.103193
摘要

Transformers have revolutionized natural language processing (NLP) and have had a huge impact on automating tasks. Recently, transformers have led to the development of powerful large language models (LLMs), which have advanced automatic code generation. This study provides a review of code generation concepts and transformer applications in this field. First, the fundamental concepts of the attention mechanism embedded into transformers are explored. Then, predominant automated code generation approaches are briefly reviewed, including non-learning code generation (e.g., rule-based), shallow learning (e.g., heuristic rules, grammar-based), and deep learning models. Afterward, this survey reviews pre-training and fine-tuning techniques for code generation, focusing on the application of efficient transformer methods such as parameter-efficient tuning, instruction tuning, and prompt tuning. Additionally, this work briefly outlines resources for code generation (e.g., datasets, benchmarks, packages) and evaluation metrics utilized in code generation processes. Finally, the challenges and potential research directions (e.g., multimodal learning) are investigated in depth.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
简单觅山发布了新的文献求助20
刚刚
Y12完成签到,获得积分10
1秒前
1秒前
1秒前
3秒前
4秒前
情怀应助盼夏采纳,获得30
4秒前
王则佼完成签到,获得积分10
5秒前
隐形夜梦完成签到,获得积分10
5秒前
饭饭发布了新的文献求助10
6秒前
紧张的紫文完成签到,获得积分10
6秒前
tttt发布了新的文献求助10
7秒前
剑南节度使完成签到,获得积分10
7秒前
Y12发布了新的文献求助10
8秒前
8秒前
Jasper应助mak20081采纳,获得10
9秒前
hongjing完成签到,获得积分10
9秒前
9秒前
杨凤艳完成签到,获得积分20
11秒前
英俊的铭应助Grinde采纳,获得10
12秒前
中岛悠斗完成签到,获得积分10
13秒前
隐形曼青应助Mikey采纳,获得10
13秒前
Hello应助咻咻采纳,获得10
13秒前
jojofinter发布了新的文献求助10
14秒前
科研通AI6.2应助通科研采纳,获得10
14秒前
不会摸鱼的研究生不是好研究生完成签到 ,获得积分10
15秒前
fuwa完成签到,获得积分10
15秒前
15秒前
15秒前
15秒前
16秒前
16秒前
JamesPei应助话没太多采纳,获得10
17秒前
21秒前
伟大的德玛完成签到,获得积分10
22秒前
24秒前
25秒前
25秒前
无聊的季节完成签到,获得积分10
26秒前
28秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea de Guyane Insecta, Polyneoptera 2000
Leading Academic-Practice Partnerships in Nursing and Healthcare: A Paradigm for Change 800
Signals, Systems, and Signal Processing 610
Research Methods for Business: A Skill Building Approach, 9th Edition 500
Research Methods for Applied Linguistics 500
Picture Books with Same-sex Parented Families Unintentional Censorship 444
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6412313
求助须知:如何正确求助?哪些是违规求助? 8231450
关于积分的说明 17470309
捐赠科研通 5465109
什么是DOI,文献DOI怎么找? 2887561
邀请新用户注册赠送积分活动 1864318
关于科研通互助平台的介绍 1702915