清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

SPT-code

计算机科学 源代码 自然语言 自动汇总 编码(集合论) 自然语言处理 人工智能 程序设计语言 代码评审 KPI驱动的代码分析 语言模型 静态程序分析 软件开发 软件 集合(抽象数据类型)
作者
Changan Niu,Chuanyi Li,Vincent Ng,Jidong Ge,LiGuo Huang,Bin Luo
标识
DOI:10.1145/3510003.3510096
摘要

Recent years have seen the successful application of large pre-trained models to code representation learning, resulting in substantial improvements on many code-related downstream tasks. But there are issues surrounding their application to SE tasks. First, the majority of the pre-trained models focus on pre-training only the encoder of the Transformer. For generation tasks that are addressed using models with the encoder-decoder architecture, however, there is no reason why the decoder should be left out during pre-training. Second, many existing pre-trained models, including state-of-the-art models such as T5-learning, simply reuse the pretraining tasks designed for natural languages. Moreover, to learn the natural language description of source code needed eventually for code-related tasks such as code summarization, existing pretraining tasks require a bilingual corpus composed of source code and the associated natural language description, which severely limits the amount of data for pre-training. To this end, we propose SPT-Code, a sequence-to-sequence pre-trained model for source code. In order to pre-train SPT-Code in a sequence-to-sequence manner and address the aforementioned weaknesses associated with existing pre-training tasks, we introduce three pre-training tasks that are specifically designed to enable SPT-Code to learn knowledge of source code, the corresponding code structure, as well as a natural language description of the code without relying on any bilingual corpus, and eventually exploit these three sources of information when it is applied to downstream tasks. Experimental results demonstrate that SPT-Code achieves state-of-the-art performance on five code-related downstream tasks after fine-tuning.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
trophozoite完成签到 ,获得积分10
20秒前
薛家泰完成签到 ,获得积分10
38秒前
量子星尘发布了新的文献求助10
41秒前
dynamoo完成签到,获得积分10
46秒前
披着羊皮的狼完成签到 ,获得积分10
1分钟前
1分钟前
顺顺发布了新的文献求助10
1分钟前
英俊的铭应助Ansong采纳,获得10
1分钟前
lanxinge完成签到 ,获得积分10
1分钟前
通科研完成签到 ,获得积分0
2分钟前
vbnn完成签到 ,获得积分10
2分钟前
量子星尘发布了新的文献求助10
2分钟前
无悔完成签到 ,获得积分10
2分钟前
洒家完成签到 ,获得积分10
3分钟前
Qing完成签到 ,获得积分10
3分钟前
多边棱发布了新的文献求助10
3分钟前
沉沉完成签到 ,获得积分0
3分钟前
研友_nxw2xL完成签到,获得积分10
4分钟前
muriel完成签到,获得积分0
4分钟前
量子星尘发布了新的文献求助30
4分钟前
123完成签到,获得积分10
4分钟前
234完成签到,获得积分10
4分钟前
情怀应助多边棱采纳,获得10
5分钟前
紫荆完成签到 ,获得积分10
5分钟前
5分钟前
Li发布了新的文献求助10
5分钟前
多边棱发布了新的文献求助10
5分钟前
Li完成签到,获得积分10
6分钟前
gszy1975完成签到,获得积分10
6分钟前
6分钟前
量子星尘发布了新的文献求助10
6分钟前
多边棱发布了新的文献求助10
6分钟前
Zhahu完成签到 ,获得积分10
7分钟前
Eileen完成签到 ,获得积分0
8分钟前
大模型应助多边棱采纳,获得10
8分钟前
8分钟前
XXXXXX发布了新的文献求助10
8分钟前
9分钟前
量子星尘发布了新的文献求助10
9分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
计划经济时代的工厂管理与工人状况(1949-1966)——以郑州市国营工厂为例 500
Sociologies et cosmopolitisme méthodologique 400
Why America Can't Retrench (And How it Might) 400
Another look at Archaeopteryx as the oldest bird 390
Partial Least Squares Structural Equation Modeling (PLS-SEM) using SmartPLS 3.0 300
Two New β-Class Milbemycins from Streptomyces bingchenggensis: Fermentation, Isolation, Structure Elucidation and Biological Properties 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 催化作用 遗传学 冶金 电极 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 4653902
求助须知:如何正确求助?哪些是违规求助? 4040252
关于积分的说明 12494889
捐赠科研通 3731153
什么是DOI,文献DOI怎么找? 2059603
邀请新用户注册赠送积分活动 1090273
科研通“疑难数据库(出版商)”最低求助积分说明 971420