| from huggingface_hub import hf_hub_download | |
| import zipfile | |
| # Download the .zip file | |
| zip_path = hf_hub_download( | |
| repo_id="azatika/beat-english-private", | |
| filename="beat_english_v0.2.1.zip", | |
| repo_type="dataset", | |
| token=True | |
| ) | |
| # Unzip it to your desired folder | |
| with zipfile.ZipFile(zip_path, 'r') as zip_ref: | |
| zip_ref.extractall("./beat_english_dataset") | |