hf-dataset-management
CommunityReliable HuggingFace dataset caching & uploads
Authordongzhuoyao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Ensures datasets are available, consistent, and verified for ML training by providing an offline-first caching workflow, preflight checks to catch missing or malformed data before expensive jobs, and guidance for uploading and validating datasets on the HuggingFace Hub.
Core Features & Use Cases
- Offline-first caching: Pre-cache datasets on login nodes and configure offline environment variables to avoid runtime downloads on compute nodes.
- Preflight verification: Validate cache directories, expected file formats, and counts to prevent failed Slurm jobs and wasted GPU time.
- Reliable uploads and round-trip checks: Push datasets to HF Hub and immediately download to confirm integrity and completeness.
- Scalable alternatives: Convert very large corpora to WebDataset shards and tune num_workers and shard counts for distributed training.
- Use case: Pre-cache a 10 TB dataset on the cluster login node, run a preflight script to ensure expected parquet shards are present, then push and verify a smaller evaluation split to the HF Hub.
Quick Start
Pre-cache the target HuggingFace dataset to data/my_dataset, run a preflight integrity check, and then push and verify the dataset on the HF Hub before submitting the Slurm job.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hf-dataset-management Download link: https://github.com/dongzhuoyao/tao-research-skills/archive/main.zip#hf-dataset-management Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.