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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
程破茧完成签到,获得积分10
刚刚
rio发布了新的文献求助10
刚刚
1秒前
研友_564485完成签到,获得积分10
1秒前
ycd发布了新的文献求助10
1秒前
半山完成签到,获得积分10
1秒前
2秒前
2秒前
赫幼蓉发布了新的文献求助10
2秒前
2秒前
2秒前
2秒前
2秒前
2秒前
3秒前
3秒前
3秒前
3秒前
3秒前
3秒前
3秒前
3秒前
3秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
4秒前
5秒前
5秒前
5秒前
高分求助中
The Graphene Handbook (2019 Edition) 800
IEST-RP-CC018: Cleanroom Cleaning and Sanitization: Operating and Monitoring Procedures 600
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
久松真一著作集〈第5巻〉禅と芸術 500
Fundamentals of Modern Mathematics: A Practical Review (Dover Books on Mathematics) 500
Cold War Transcended: Australia's China Policy, 1949-1990 470
Comprehensive Organic Synthesis 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6596760
求助须知:如何正确求助?哪些是违规求助? 8366692
关于积分的说明 17909502
捐赠科研通 5749431
什么是DOI,文献DOI怎么找? 2953182
邀请新用户注册赠送积分活动 1928477
关于科研通互助平台的介绍 1822329