neuralfetch.download.Huggingface¶
- class neuralfetch.download.Huggingface(*, study: str, dset_dir: str | Path, folder: str = 'download', org: str)[source][source]¶
Download a dataset repository from Hugging Face Hub.
Uses
huggingface_hub.snapshot_download()for a full repository snapshot. Set theHUGGING_FACE_HUB_TOKENenvironment variable for private or gated repositories.