Download push.py from Bornforthis/BornforthisData: direct link, hf CLI and curl.
- Browser
- Download file 302 Bytes
-
https://huggingface.co/datasets/Bornforthis/BornforthisData/resolve/eb9ddf6fa37f9facecd38209397926f3cab6f514/push.py
- Command line
-
hf download hf://datasets/Bornforthis/BornforthisData@eb9ddf6fa37f9facecd38209397926f3cab6f514/push.py
-
curl -L -o push.py https://huggingface.co/datasets/Bornforthis/BornforthisData/resolve/eb9ddf6fa37f9facecd38209397926f3cab6f514/push.py
302 Bytes
| from huggingface_hub import HfApi | |
| from huggingface_hub import login | |
| # login() | |
| api = HfApi() | |
| api.upload_folder( | |
| folder_path=".", | |
| repo_id="Bornforthis/BornforthisData", | |
| repo_type="dataset", | |
| ) | |
| # from huggingface_hub import HfApi | |
| # api = HfApi() | |
| # api.create_repo(repo_id="super-cool-model") |