fix huggingface api usage
Browse files
README.md
CHANGED
|
@@ -165,9 +165,6 @@ Each index CSV in `MobileViews_Apps_CompleteTraces/Index_CSV.zip` lists the app
|
|
| 165 |
| com.sportzentral.app | 25 |
|
| 166 |
| com.boostedproductivity.app | 23 |
|
| 167 |
|
| 168 |
-
Here’s how you can integrate the `huggingface-cli` resumable download feature into the Python-based instructions to make it concise and useful:
|
| 169 |
-
|
| 170 |
-
---
|
| 171 |
|
| 172 |
## 🌏 How to Download
|
| 173 |
|
|
@@ -214,7 +211,6 @@ from huggingface_hub import snapshot_download
|
|
| 214 |
# Download the entire repository
|
| 215 |
snapshot_download(repo_id="mllmTeam/MobileViews", repo_type="dataset", local_dir="/path/to/your_local_dir")
|
| 216 |
```
|
| 217 |
-
|
| 218 |
---
|
| 219 |
|
| 220 |
#### **Option 2: Download via Hugging Face CLI**
|
|
@@ -245,7 +241,6 @@ huggingface-cli download --repo-type dataset --resume-download mllmTeam/MobileVi
|
|
| 245 |
|
| 246 |
If the download is interrupted, run the command again, and it will resume from the last completed point.
|
| 247 |
|
| 248 |
-
---
|
| 249 |
### References
|
| 250 |
For more parameters and advanced usage, refer to the official documentation:
|
| 251 |
|
|
@@ -255,6 +250,7 @@ For more parameters and advanced usage, refer to the official documentation:
|
|
| 255 |
|
| 256 |
- [`Hugging Face CLI` Documentation](https://huggingface.co/docs/huggingface_hub/guides/cli#huggingface-cli-download)
|
| 257 |
|
|
|
|
| 258 |
## 📋 Usage Guidelines
|
| 259 |
|
| 260 |
### Using `zip` and `parquet` Files in `MobileViews_Screenshots_ViewHierarchies`
|
|
|
|
| 165 |
| com.sportzentral.app | 25 |
|
| 166 |
| com.boostedproductivity.app | 23 |
|
| 167 |
|
|
|
|
|
|
|
|
|
|
| 168 |
|
| 169 |
## 🌏 How to Download
|
| 170 |
|
|
|
|
| 211 |
# Download the entire repository
|
| 212 |
snapshot_download(repo_id="mllmTeam/MobileViews", repo_type="dataset", local_dir="/path/to/your_local_dir")
|
| 213 |
```
|
|
|
|
| 214 |
---
|
| 215 |
|
| 216 |
#### **Option 2: Download via Hugging Face CLI**
|
|
|
|
| 241 |
|
| 242 |
If the download is interrupted, run the command again, and it will resume from the last completed point.
|
| 243 |
|
|
|
|
| 244 |
### References
|
| 245 |
For more parameters and advanced usage, refer to the official documentation:
|
| 246 |
|
|
|
|
| 250 |
|
| 251 |
- [`Hugging Face CLI` Documentation](https://huggingface.co/docs/huggingface_hub/guides/cli#huggingface-cli-download)
|
| 252 |
|
| 253 |
+
|
| 254 |
## 📋 Usage Guidelines
|
| 255 |
|
| 256 |
### Using `zip` and `parquet` Files in `MobileViews_Screenshots_ViewHierarchies`
|