Upload folder using huggingface_hub
Browse files- README.md +8 -5
- delete_remote_folder.py +11 -0
README.md
CHANGED
|
@@ -173,10 +173,13 @@ We borrowed a lot of code from the following excellent projects:
|
|
| 173 |
If you find GPA useful for your research or projects, please cite us:
|
| 174 |
|
| 175 |
```bibtex
|
| 176 |
-
@misc{
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
|
|
|
|
|
|
|
|
|
| 181 |
}
|
| 182 |
```
|
|
|
|
| 173 |
If you find GPA useful for your research or projects, please cite us:
|
| 174 |
|
| 175 |
```bibtex
|
| 176 |
+
@misc{cai2026unifyingspeechrecognitionsynthesis,
|
| 177 |
+
title={Unifying Speech Recognition, Synthesis and Conversion with Autoregressive Transformers},
|
| 178 |
+
author={Runyuan Cai and Yu Lin and Yiming Wang and Chunlin Fu and Xiaodong Zeng},
|
| 179 |
+
year={2026},
|
| 180 |
+
eprint={2601.10770},
|
| 181 |
+
archivePrefix={arXiv},
|
| 182 |
+
primaryClass={cs.SD},
|
| 183 |
+
url={https://arxiv.org/abs/2601.10770},
|
| 184 |
}
|
| 185 |
```
|
delete_remote_folder.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from huggingface_hub import HfApi, get_token
|
| 2 |
+
|
| 3 |
+
repo_id = "AutoArk-AI/GPA"
|
| 4 |
+
api = HfApi()
|
| 5 |
+
|
| 6 |
+
try:
|
| 7 |
+
print(f"Attempting to delete 'gpa_0_3b' from {repo_id}...")
|
| 8 |
+
api.delete_folder(path_in_repo="gpa_0_3b", repo_id=repo_id, repo_type="model")
|
| 9 |
+
print("Successfully deleted 'gpa_0_3b' folder from remote repository.")
|
| 10 |
+
except Exception as e:
|
| 11 |
+
print(f"Error deleting folder: {e}")
|