Skip to main content

Pytorch Dataset - Pytorch

Project description

Multi-Modality

Pytorch-Dataset

A PyTorch Code Dataset for Cutting-Edge Fine-tuning

Installation

You can install the package using pip

pip install pytorch-dataset

Usage

Downloader that downloads and unzips each repository in an account

from pytorch import GitHubRepoDownloader

downloader = GitHubRepoDownloader(username="lucidrains", download_dir="lucidrains_repositories")
downloader.download_repositories()

Processor that cleans, formats, and submits the cleaned dataset to huggingface

from pytorch import CodeDatasetBuilder

code_builder = CodeDatasetBuilder("lucidrains_repositories")
code_builder.save_dataset("lucidrains_python_code_dataset")
code_builder.push_to_hub("lucidrains_python_code_dataset", organization="kye")

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytorch_dataset-0.0.4.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

pytorch_dataset-0.0.4-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page