|
|
|
|
|
|
| # Open Source Data for AMD AI DevMaster Hackathon 202608 |
|
|
| ## Upload to HuggingFace Hub |
|
|
| Upload the whole directory as a single dataset repo (replace `YOUR_HF_USERNAME` with your username): |
|
|
| ``` |
| export HF_TOKEN=hf_xxxxx |
| hf upload WuChao-Cauchy/openSource_AMD_AI_DevMaster_Hackathon_202608 \ |
| /home/chao01.wu/BiGym_Dev/data/openSource_AMD_AI_DevMaster_Hackathon_202608 --repo-type=dataset |
| ``` |
|
|
| Create the dataset repo on the Hub first, or pass `--create-pr` to auto-create it. |
|
|
| ## Download from HuggingFace Hub |
|
|
| `--local-dir` copies real files to disk (no symlinks) and resumes by default — if interrupted, re-running the same command continues where it left off, without restarting from scratch. |
|
|
| Full download: |
| ``` |
| hf WuChao-Cauchy |
| /openSource_AMD_AI_DevMaster_Hackathon_202608 \ |
| --repo-type=dataset --local-dir ./bigym_plus --max-workers 8 |
| ``` |
|
|
| Download only specific tasks (glob matches directory names): |
| ``` |
| huggingface-cli download WuChao-Cauchy |
| /openSource_AMD_AI_DevMaster_Hackathon_202608 \ |
| --repo-type=dataset --local-dir ./bigym_plus \ |
| --include "reach_target/*" "reach_target_dual/*" |
| ``` |
|
|
| Common options: |
|
|
| - `--max-workers N`: concurrent download threads, default 8, can be raised on a good network. |
| - `--include "glob1" "glob2"`: download only matching files (e.g. `"<task>/*"` for a single task). |
| - `--exclude "glob1"`: skip matching files. |
| - `--force-download`: re-download even if files already exist locally. |
| - `--revision <commit>`: pin a specific commit / branch / tag. |
| - `--quiet`: disable progress bars, print only the final path. |
| - `--cache-dir PATH`: custom HF cache dir (default `~/.cache/huggingface`). |
|
|
| After download, each task subdirectory is a complete lerobot v3.0 dataset, loadable via `LeRobotDataset(repo_id="bigym_plus/<task>", root="./bigym_plus")`. |
|
|