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

Mehdi Bahrami, N. C. Shrikanth, Shade Ruangwan, Lei Liu, Yuji Mizobuchi +4 more
10/4/2021
cs.SE
benchmark-dataset

Official code: fla-sil/PyTorrent (43 stars, last commit 2026-07-13).

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

fla-sil/PyTorrentOfficial100%
4315Jan 10, 20214 months ago

Similar Papers

Cite this paper

@article{bahrami2021pytorrent,
  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},
  year   = {2021},
  eprint = {2110.01710},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.01710}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.01710.svg)](https://codeofpaper.com/paper/2110.01710)

Discussion