Needs a wildcard in the download instructions

#4
by MikeyMicah - opened

The code for downloading specific sets needs a wildcard (*) in the allow_patterns generation:

REPO_ID = "PGLearn/PGLearn-Small"
CASES   = ["14_ieee", "30_ieee"]
LOCAL_DIR = "<path/to/local/dir>"

snapshot_download(repo_id=REPO_ID, allow_patterns=[f"{case}/*" for case in CASES], repo_type="dataset", local_dir=LOCAL_DIR)
#                                                        ^^^^
PGLearn Datasets org
klamike changed discussion status to closed
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment