A Parallel Corpus of Python Functions and Documentation Strings for Automated Code Documentation and Code Generation

Python(编程语言) 文档 计算机科学 脚本语言 程序设计语言 源代码 代码生成 机器翻译 自然语言处理 编码(集合论) 软件文档 人工智能 软件 软件开发 操作系统 钥匙(锁) 软件建设 集合(抽象数据类型)
作者
Antonio Valerio Miceli Barone,Rico Sennrich
摘要

Automated documentation of programming source code and automated code generation from natural language are challenging tasks of both practical and scientific interest. Progress in these areas has been limited by the low availability of parallel corpora of code and natural language descriptions, which tend to be small and constrained to specific domains. In this work we introduce a large and diverse parallel corpus of a hundred thousands Python functions with their documentation strings (“docstrings”) generated by scraping open source repositories on GitHub. We describe baseline results for the code documentation and code generation tasks obtained by neural machine translation. We also experiment with data augmentation techniques to further increase the amount of training data. We release our datasets and processing scripts in order to stimulate research in these areas.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Moon完成签到,获得积分10
1秒前
章口就来完成签到,获得积分10
1秒前
痕丶歆完成签到,获得积分10
2秒前
Cyan发布了新的文献求助10
3秒前
4秒前
生动新蕾完成签到 ,获得积分10
5秒前
6秒前
7秒前
7秒前
李健应助zqcn采纳,获得10
7秒前
昏睡松鼠完成签到,获得积分10
8秒前
8秒前
8秒前
8秒前
Akim应助科研通管家采纳,获得10
8秒前
Nexus应助科研通管家采纳,获得10
8秒前
9秒前
Owen应助科研通管家采纳,获得10
9秒前
9秒前
molihuakai应助科研通管家采纳,获得10
9秒前
aguiguigui应助科研通管家采纳,获得10
9秒前
小二郎应助科研通管家采纳,获得10
9秒前
情怀应助科研通管家采纳,获得10
9秒前
molihuakai应助科研通管家采纳,获得10
9秒前
Akim应助科研通管家采纳,获得10
9秒前
Rainyin应助科研通管家采纳,获得10
9秒前
ding应助科研通管家采纳,获得10
9秒前
华仔应助科研通管家采纳,获得10
9秒前
wanci应助科研通管家采纳,获得10
9秒前
10秒前
英俊的铭应助合适金毛采纳,获得30
12秒前
nnnnnn发布了新的文献求助10
12秒前
巴巴比发布了新的文献求助10
12秒前
沐泽发布了新的文献求助10
12秒前
英姑应助超级幻梅采纳,获得10
12秒前
13秒前
所所应助WWW采纳,获得10
13秒前
13秒前
科研通AI6.4应助Mike采纳,获得10
14秒前
搞怪的牛爷爷完成签到,获得积分20
15秒前
高分求助中
Adhesion Science: Principles & Practice 1234
Signals, Systems, and Signal Processing 610
Introduction to Cosmetic Formulation and Technology, 2nd Edition 400
Petrology and Plate Tectonics,2025 400
Burger's Medicinal Chemistry and Drug Discovery 400
A Step-by-Step Guide to Qualitative Data Coding 2nd Edition 400
Programming for Chemical Engineers Using C, C++, and MATLAB 320
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6702289
求助须知:如何正确求助?哪些是违规求助? 8443831
关于积分的说明 18037074
捐赠科研通 5938884
什么是DOI,文献DOI怎么找? 2989422
邀请新用户注册赠送积分活动 1965385
关于科研通互助平台的介绍 1909406