Update README.md
Browse files
README.md
CHANGED
|
@@ -31,12 +31,18 @@ size_categories:
|
|
| 31 |
pip install huggingface_hub
|
| 32 |
```
|
| 33 |
|
| 34 |
-
Create a python script, and run it:
|
| 35 |
|
| 36 |
```python
|
| 37 |
from huggingface_hub import snapshot_download
|
| 38 |
|
| 39 |
-
path = snapshot_download(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
print("Downloaded to:", path)
|
| 41 |
```
|
| 42 |
|
|
|
|
| 31 |
pip install huggingface_hub
|
| 32 |
```
|
| 33 |
|
| 34 |
+
Create a python script in "CoInfra" folder, and run it:
|
| 35 |
|
| 36 |
```python
|
| 37 |
from huggingface_hub import snapshot_download
|
| 38 |
|
| 39 |
+
path = snapshot_download(
|
| 40 |
+
repo_id="MinghaoNing/CoInfra",
|
| 41 |
+
repo_type="dataset",
|
| 42 |
+
local_dir=".", # <-- download into current folder
|
| 43 |
+
local_dir_use_symlinks=False # <-- ensure actual files are copied
|
| 44 |
+
)
|
| 45 |
+
|
| 46 |
print("Downloaded to:", path)
|
| 47 |
```
|
| 48 |
|