{"id":19492663,"url":"https://github.com/agora-lab-ai/pytorch-dataset","last_synced_at":"2025-04-25T20:30:27.564Z","repository":{"id":193085363,"uuid":"688136509","full_name":"Agora-Lab-AI/Pytorch-Dataset","owner":"Agora-Lab-AI","description":"A PyTorch Code Dataset for Cutting-Edge Fine-tuning","archived":false,"fork":false,"pushed_at":"2023-12-11T03:47:10.000Z","size":211369,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-04T03:11:19.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Agora-Lab-AI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["kyegomez"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-09-06T18:17:33.000Z","updated_at":"2024-08-09T00:02:50.000Z","dependencies_parsed_at":"2023-09-06T18:38:45.827Z","dependency_job_id":"d6b0212b-639e-4e37-b55a-d55778886c81","html_url":"https://github.com/Agora-Lab-AI/Pytorch-Dataset","commit_stats":null,"previous_names":["agora-x/pytorch-dataset"],"tags_count":0,"template":false,"template_full_name":"kyegomez/Python-Package-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FPytorch-Dataset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FPytorch-Dataset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FPytorch-Dataset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FPytorch-Dataset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Agora-Lab-AI","download_url":"https://codeload.github.com/Agora-Lab-AI/Pytorch-Dataset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250890141,"owners_count":21503440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T21:22:29.440Z","updated_at":"2025-04-25T20:30:27.224Z","avatar_url":"https://github.com/Agora-Lab-AI.png","language":"Python","funding_links":["https://github.com/sponsors/kyegomez"],"categories":[],"sub_categories":[],"readme":"[![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)\n\n# Pytorch-Dataset\nA PyTorch Code Dataset for Cutting-Edge Fine-tuning\n\n\n\n## Installation\nYou can install the package using pip\n\n```bash\npip install pytorch-dataset\n```\n\n# Usage\nDownloader that downloads and unzips each repository in an account\n```python\n\nfrom pytorch import GitHubRepoDownloader\n\n# Example usage:\ndownloader = GitHubRepoDownloader(username=\"lucidrains\", download_dir=\"lucidrains_repositories\")\ndownloader.download_repositories()\n```\n\nProcessor that cleans, formats, and submits the cleaned dataset to huggingface\n```python\nfrom pytorch import CodeDatasetBuilder\n\n# Example usage:\ncode_builder = CodeDatasetBuilder(\"lucidrains_repositories\")\n\ncode_builder.save_dataset(\n    \"lucidrains_python_code_dataset\", \n    exclude_files=[\"setup.py\"], exclude_dirs=[\"tests\"]\n)\n\ncode_builder.push_to_hub(\"lucidrains_python_code_dataset\", organization=\"kye\")\n```\n# License\nMIT\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagora-lab-ai%2Fpytorch-dataset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagora-lab-ai%2Fpytorch-dataset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagora-lab-ai%2Fpytorch-dataset/lists"}