English

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

Software Engineering 2021-10-06 v1

Abstract

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

Keywords

Cite

@article{arxiv.2110.01710,
  title  = {PyTorrent: A Python Library Corpus for Large-scale Language Models},
  author = {Mehdi Bahrami and N. C. Shrikanth and Shade Ruangwan and Lei Liu and Yuji Mizobuchi and Masahiro Fukuyori and Wei-Peng Chen and Kazuki Munakata and Tim Menzies},
  journal= {arXiv preprint arXiv:2110.01710},
  year   = {2021}
}

Comments

10 pages, 2 figures, 5 tables

R2 v1 2026-06-24T06:37:12.181Z