Add Download Instructions
Browse files
README.md
CHANGED
|
@@ -25,6 +25,22 @@ size_categories:
|
|
| 25 |
|
| 26 |

|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
## Extraction Instructions
|
| 30 |
The archives are compressed using `zstd` for fast decompression. To extract the dataset, you need to have `zstd` installed. You can install it via package managers like `apt`, `brew`.
|
|
|
|
| 25 |
|
| 26 |

|
| 27 |
|
| 28 |
+
## Download Instructions
|
| 29 |
+
**Use the huggingface_hub CLI or library**
|
| 30 |
+
```bash
|
| 31 |
+
pip install huggingface_hub
|
| 32 |
+
```bash
|
| 33 |
+
|
| 34 |
+
Create a python script, and run it:
|
| 35 |
+
|
| 36 |
+
```python
|
| 37 |
+
from huggingface_hub import snapshot_download
|
| 38 |
+
|
| 39 |
+
path = snapshot_download(repo_id="MinghaoNing/CoInfra", repo_type="dataset")
|
| 40 |
+
print("Downloaded to:", path)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
This will download the full dataset repo (all files) to a local folder.
|
| 44 |
|
| 45 |
## Extraction Instructions
|
| 46 |
The archives are compressed using `zstd` for fast decompression. To extract the dataset, you need to have `zstd` installed. You can install it via package managers like `apt`, `brew`.
|