This directory is the
Python
module for the PTMTorrent dataset generation code.
This directory is the root of the PTMTorrent Python
module. Each model hub
has its associated code within the subdirectories within this directory.
The utils
directory doesn't have any executable code and is a common
dependency shared across all model hub scripts. Additionally,
__init__.py
is also a common dependency shared by all scripts
with the excetpion of the scripts in the utils
directory.
Each model hub's scripts are separated by directory in this directory. The directory for each specific model hub, as well as the main runner script, is listed in the table below:
Model Hub | Scripts Directory | Script Name |
---|---|---|
Hugging Face | huggingface |
__main__.py |
Modelhub | modelhub |
__main__.py |
ModelZoo | modelzoo |
__main__.py |
Pytorch Hub | pytorchhub |
__main__.py |
ONNX Model Zoo | onnxmodelzoo |
__main__.py |