metadata
license: unlicense
scripts
Personal scripts to automate some tasks.
Will try to keep external module use to a minimum, other than huggingface_hub.
Feel free to send in pull requests or use this code however you'd like.
GitHub mirror
For GitHub: Would recommend creating pull requests and discussions on the offical huggingface repo
existing scripts
work in progress/not tested (unfinished branch)
- Manage branches (securing token)
- Push to hf hub
other recommended scripts
usage
Manage branches
- 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. May get some updates in the future for handling more situations. All active updates will be on the unfinished branch.
Download models
- Make sure you have requests and 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 branch can use cli login).
- Make sure you have requests and tqdm installed. You can install them with "