Update README.md
Browse files
README.md
CHANGED
|
@@ -11,8 +11,20 @@ Feel free to send in pull requests or use this code however you'd like.
|
|
| 11 |
|
| 12 |
## existing scripts
|
| 13 |
|
| 14 |
-
- Manage branches (create/delete)
|
| 15 |
|
| 16 |
## work in progress/not tested ([unfinished](https://huggingface.co/Anthonyg5005/hf-scripts/tree/unfinished) branch)
|
| 17 |
|
| 18 |
- Push to hf hub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
## existing scripts
|
| 13 |
|
| 14 |
+
- [Manage branches (create/delete)](https://huggingface.co/Anthonyg5005/hf-scripts/resolve/main/manage%20branches.py?download=true)
|
| 15 |
|
| 16 |
## work in progress/not tested ([unfinished](https://huggingface.co/Anthonyg5005/hf-scripts/tree/unfinished) branch)
|
| 17 |
|
| 18 |
- Push to hf hub
|
| 19 |
+
|
| 20 |
+
## other recommended scripts
|
| 21 |
+
|
| 22 |
+
- [Download models (download HF Hub models) [Oobabooga]](https://github.com/oobabooga/text-generation-webui/blob/main/download-model.py)
|
| 23 |
+
|
| 24 |
+
## usage
|
| 25 |
+
|
| 26 |
+
- Manage branches
|
| 27 |
+
- Run script and follow prompts. You will be required to be logged in to HF Hub. If you are not logged in, you will need a WRITE token. You can get one in your [HuggingFace settings](https://huggingface.co/settings/tokens). May get some updates in the future for handling more situations. All active updates will be on the [unfinished](https://huggingface.co/Anthonyg5005/hf-scripts/tree/unfinished) branch.
|
| 28 |
+
|
| 29 |
+
- Download models
|
| 30 |
+
- Make sure you have [requests](https://pypi.org/project/requests/) and [tqdm](https://pypi.org/project/tqdm/) installed. You can install them with "`pip install requests tqdm`". To use the script, open a terminal and run "`python download-model.py USER/MODEL:BRANCH`". There's also a "`--help`" flag to show the available arguments. To download from private repositories, HF_TOKEN variable needs to be set to at least a READ token ([Dev](https://github.com/oobabooga/text-generation-webui/blob/dev/download-model.py) branch can use cli login).
|