|
Download README.md from OpenSportsLab/KQL: direct link, hf CLI and curl.
- Browser
- Download file 974 Bytes
-
https://huggingface.co/datasets/OpenSportsLab/KQL/resolve/main/README.md
- Command line
-
hf download hf://datasets/OpenSportsLab/KQL/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/OpenSportsLab/KQL/resolve/main/README.md
974 Bytes
| license: gpl-3.0 | |
| # Download the Kings/Queens League dataset in the OSL Action Spotting JSON format | |
| ``` | |
| from huggingface_hub import snapshot_download | |
| snapshot_download(repo_id="OpenSportsLab/KQL", | |
| repo_type="dataset", revision="main", | |
| local_dir="KQL") | |
| ``` | |
| ## Download specific subsets | |
| ### Download Queens League only | |
| ``` | |
| from huggingface_hub import snapshot_download | |
| # Download the Queens League dataset only | |
| snapshot_download(repo_id="OpenSportsLab/KQL", | |
| repo_type="dataset", revision="main", | |
| local_dir="KQL", | |
| allow_patterns="QueensLeague/*") | |
| ``` | |
| ### Download Kings League only | |
| ``` | |
| from huggingface_hub import snapshot_download | |
| # Download the Kings League dataset only | |
| snapshot_download(repo_id="OpenSportsLab/KQL", | |
| repo_type="dataset", revision="main", | |
| local_dir="KQL", | |
| allow_patterns="KingsLeague/*") | |
| ``` | |