Skip to main content
Article
PTMTorrent: A Dataset for Mining Open-source Pre-trained Model Packages
2023 IEEE/ACM 20th International Conference on Mining Software Repositories (MSR) Proceedings
  • Wenxin Jiang, Purdue University
  • Nicholas Synovic, Loyola University Chicago
  • Purvish Jajal, Purdue University
  • Taylor R. Schorlemmer, Purdue University
  • Arav Tewari, Purdue University
  • Bhavesh Pareek, Purdue University
  • George K. Thiruvathukal, Loyola University Chicago
  • James C Davis, Purdue University
Document Type
Conference Proceeding
Publication Date
5-15-2023
Pages
57-61
Publisher Name
IEEE
Abstract

Due to the cost of developing and training deep learning models from scratch, machine learning engineers have begun to reuse pre-trained models (PTMs) and fine-tune them for downstream tasks. PTM registries known as “model hubs” support engineers in distributing and reusing deep learning models. PTM packages include pre-trained weights, documentation, model architectures, datasets, and metadata. Mining the information in PTM packages will enable the discovery of engineering phenomena and tools to support software engineers. However, accessing this information is difficult — there are many PTM registries, and both the registries and the individual packages may have rate limiting for accessing the data.

We present an open-source dataset, PTMTorrent, to facilitate the evaluation and understanding of PTM packages. This paper describes the creation, structure, usage, and limitations of the dataset. The dataset includes a snapshot of 5 model hubs and a total of 15,913 PTM packages. These packages are represented in a uniform data schema for cross-hub mining. We describe prior uses of this data and suggest research opportunities for mining using our dataset.

Comments

Author Posting © 2023 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. The definitive version was published in the 2023 IEEE/ACM 20th International Conference on Mining Software Repositories (MSR) Proceedings, Pages 57-61, May 2023. https://doi.ieeecomputersociety.org/10.1109/MSR59073.2023.00021

Creative Commons License
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0
Citation Information
Jiang, Wenxin; Synovic, Nicholas; Jajal, Purvish; Schorlemmer, Taylor R.; Tewari, Arav; Pareek, Bhavesh; et al. (2023): PTMTorrent: A Dataset for Mining Open-source Pre-trained Model Packages. figshare. Dataset. https://doi.org/10.6084/m9.figshare.22009880.v3