Download save.py from Dang-gu/codi_finetune_2nd: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/Dang-gu/codi_finetune_2nd/resolve/main/save.py
- Command line
-
hf download hf://Dang-gu/codi_finetune_2nd/save.py
-
curl -L -o save.py https://huggingface.co/Dang-gu/codi_finetune_2nd/resolve/main/save.py
172 Bytes
| from huggingface_hub import HfApi | |
| api = HfApi() | |
| api.upload_folder( | |
| folder_path="./final_checkpoint", | |
| repo_id="Dang-gu/codi_finetune_2nd", | |
| repo_type="model", | |
| ) | |