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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
陆沨关注了科研通微信公众号
1秒前
JPG完成签到,获得积分0
3秒前
北岸发布了新的文献求助10
3秒前
123123完成签到 ,获得积分10
4秒前
科研狗应助寸马豆人采纳,获得50
4秒前
4秒前
俭朴笑晴发布了新的文献求助10
4秒前
汝桢完成签到 ,获得积分10
4秒前
斯文败类应助科研通管家采纳,获得10
5秒前
Ava应助科研通管家采纳,获得10
5秒前
小蘑菇应助科研通管家采纳,获得10
5秒前
顾矜应助科研通管家采纳,获得10
5秒前
烟花应助科研通管家采纳,获得10
5秒前
小二郎应助科研通管家采纳,获得10
5秒前
隐形曼青应助科研通管家采纳,获得30
5秒前
Moonpie应助科研通管家采纳,获得10
5秒前
wanci应助科研通管家采纳,获得10
5秒前
丘比特应助科研通管家采纳,获得10
5秒前
烟花应助科研通管家采纳,获得10
5秒前
搜集达人应助科研通管家采纳,获得10
5秒前
5秒前
5秒前
5秒前
Moonpie应助科研通管家采纳,获得10
5秒前
充电宝应助科研通管家采纳,获得10
6秒前
6秒前
6秒前
6秒前
6秒前
酷波er应助科研通管家采纳,获得10
6秒前
脑洞疼应助科研通管家采纳,获得10
6秒前
小蘑菇应助科研通管家采纳,获得10
6秒前
bkagyin应助科研通管家采纳,获得10
6秒前
科研通AI6.3应助晴qq采纳,获得30
7秒前
煌煌发布了新的文献求助10
7秒前
7秒前
nini完成签到,获得积分20
8秒前
jessicaw发布了新的文献求助10
9秒前
酷波er应助超帅发夹采纳,获得10
9秒前
yyy完成签到,获得积分10
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1500
Cowries - A Guide to the Gastropod Family Cypraeidae 1200
Quality by Design - An Indispensable Approach to Accelerate Biopharmaceutical Product Development 800
Pulse width control of a 3-phase inverter with non sinusoidal phase voltages 777
The Cambridge Handbook of Second Language Acquisition (2nd)[第二版] 666
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6401315
求助须知:如何正确求助?哪些是违规求助? 8218532
关于积分的说明 17416978
捐赠科研通 5454130
什么是DOI,文献DOI怎么找? 2882445
邀请新用户注册赠送积分活动 1859025
关于科研通互助平台的介绍 1700739