arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.01873cs.CLcs.SE
收藏

大代码机器学习的建模词汇

Modeling Vocabulary for Big Code Machine Learning

Free University of Bozen-Bolzano(博岑-博尔扎诺自由大学)

Hlib Babii, Andrea Janes, Romain Robbes

摘要:

在构建对源代码进行操作的机器学习模型时,必须做出几个决定来对源代码词汇表进行建模。这些决策可能会产生很大的影响:有些可能导致根本无法训练模型,其他则会显著影响性能,特别是对于神经语言模型。然而,这些决定往往没有得到充分描述。本文列出了源代码词汇表的重要建模选择,并探讨了它们对14,436个项目的大规模语料库的词汇表的影响。我们证明了决策的一个子集具有决定性的特征,允许在10,106个项目的大型语料库上快速训练准确的神经语言模型。

英文摘要:

When building machine learning models that operate on source code, several decisions have to be made to model source-code vocabulary. These decisions can have a large impact: some can lead to not being able to train models at all, others significantly affect performance, particularly for Neural Language Models. Yet, these decisions are not often fully described. This paper lists important modeling choices for source code vocabulary, and explores their impact on the resulting vocabulary on a large-scale corpus of 14,436 projects. We show that a subset of decisions have decisive characteristics, allowing to train accurate Neural Language Models quickly on a large corpus of 10,106 projects.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑