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秒前
Leo发布了新的文献求助10
1秒前
1秒前
samurai完成签到,获得积分10
3秒前
爆米花应助陆家麟采纳,获得10
3秒前
含蓄的醉蓝完成签到,获得积分10
3秒前
尊敬的羽完成签到,获得积分10
4秒前
4秒前
5秒前
耍酷的寒蕾完成签到,获得积分20
6秒前
7秒前
7秒前
颖小轩完成签到,获得积分10
8秒前
exbkb发布了新的文献求助10
9秒前
照照发布了新的文献求助10
10秒前
11秒前
不是山谷完成签到,获得积分10
11秒前
完美世界应助解惑采纳,获得10
11秒前
12秒前
Yun发布了新的文献求助30
13秒前
风中虔纹完成签到,获得积分10
13秒前
14秒前
15秒前
陆康完成签到,获得积分10
15秒前
柠木发布了新的文献求助10
16秒前
Jiatong7完成签到,获得积分10
16秒前
小南发布了新的文献求助10
17秒前
17秒前
18秒前
赘婿应助随心采纳,获得10
18秒前
Rxs完成签到,获得积分10
18秒前
苗苗关注了科研通微信公众号
19秒前
蓝天发布了新的文献求助10
19秒前
19秒前
爱晒太阳发布了新的文献求助10
20秒前
levitt233完成签到 ,获得积分10
20秒前
20秒前
隐形曼青应助小鱼仔采纳,获得10
21秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
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
Signals, Systems, and Signal Processing 610
A Social and Cultural History of the Hellenistic World 500
Chemistry and Physics of Carbon Volume 15 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6397542
求助须知:如何正确求助?哪些是违规求助? 8212928
关于积分的说明 17401464
捐赠科研通 5450944
什么是DOI,文献DOI怎么找? 2881170
邀请新用户注册赠送积分活动 1857682
关于科研通互助平台的介绍 1699724