Datasets:
Update README.md
Browse filesCloses https://huggingface.co/datasets/PGLearn/PGLearn-Small/discussions/4
README.md
CHANGED
@@ -63,7 +63,7 @@ in lieu of step 2. above.
|
|
63 |
CASES = ["14_ieee", "30_ieee"]
|
64 |
LOCAL_DIR = "<path/to/local/dir>"
|
65 |
|
66 |
-
snapshot_download(repo_id=REPO_ID, allow_patterns=[f"{case}
|
67 |
```
|
68 |
* To download a specific OPF formulation
|
69 |
(the repository structure makes it simpler to exclude non-desired OPF formulations)
|
|
|
63 |
CASES = ["14_ieee", "30_ieee"]
|
64 |
LOCAL_DIR = "<path/to/local/dir>"
|
65 |
|
66 |
+
snapshot_download(repo_id=REPO_ID, allow_patterns=[f"{case}/*" for case in CASES], repo_type="dataset", local_dir=LOCAL_DIR)
|
67 |
```
|
68 |
* To download a specific OPF formulation
|
69 |
(the repository structure makes it simpler to exclude non-desired OPF formulations)
|