Views
No views yet
1from huggingface_hub import hf_hub_download
2import py7zr
3
4# Download and extract
5data_file = hf_hub_download("adanish91/safety-training-data", "all-data-combined.7z")
6with py7zr.SevenZipFile(data_file, 'r') as archive:
7 archive.extractall("./data/")