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

PyTorrent:一个面向大规模语言模型的Python库语料库

PyTorrent: A Python Library Corpus for Large-scale Language Models

Mehdi Bahrami, N. C. Shrikanth, Shade Ruangwan, Lei Liu, Yuji Mizobuchi, Masahiro Fukuyori, Wei-Peng Chen, Kazuki Munakata, Tim Menzies

摘要:

语义和自然语言资源的大规模收集对于利用活跃的软件工程研究领域(如代码重用和代码可理解性)是必不可少的。现有的机器学习模型从开源存储库(如GitHub项目)和论坛讨论(如Stackoverflow.com)中摄取数据,而在这个展示中,我们后退了一步,编排了一个名为PyTorrent的语料库,其中包含来自PyPI和Anaconda环境的218,814个Python包库。这是因为早期的研究表明,大部分代码都是冗余的,来自这些环境的Python包质量更好,并且有很好的文档记录。PyTorrent使用户(如数据科学家,学生等)直接构建现成的机器学习模型,而无需在大型基础设施上花费数月的精力。数据集、模式和预训练的语言模型可在https://github.com/fla-sil/PyTorrent上获得

英文摘要:

A large scale collection of both semantic and natural language resources is essential to leverage active Software Engineering research areas such as code reuse and code comprehensibility. Existing machine learning models ingest data from Open Source repositories (like GitHub projects) and forum discussions (like Stackoverflow.com), whereas, in this showcase, we took a step backward to orchestrate a corpus titled PyTorrent that contains 218,814 Python package libraries from PyPI and Anaconda environment. This is because earlier studies have shown that much of the code is redundant and Python packages from these environments are better in quality and are well-documented. PyTorrent enables users (such as data scientists, students, etc.) to build off the shelf machine learning models directly without spending months of effort on large infrastructure. The dataset, schema and a pretrained language model is available at: https://github.com/fla-sil/PyTorrent

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

↑