|
Download README.md from RGES-PIT/test: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/datasets/RGES-PIT/test/resolve/main/README.md
- Command line
-
hf download hf://datasets/RGES-PIT/test/README.md
-
curl -L -o README.md https://huggingface.co/datasets/RGES-PIT/test/resolve/main/README.md
1.13 kB
| license: cc0-1.0 | |
| tags: | |
| - microlensing | |
| - astronomy | |
| - data-challenge | |
| pretty_name: 2026 Test Dataset | |
| size_categories: | |
| - n<1K | |
| # 2026 Test | |
| Test data for the Roman Microlensing Data CHallenge 2026 - AAS Workshop. | |
| ## Uploading | |
| CLI: | |
| ``` | |
| # Install the Hugging Face CLI | |
| brew install huggingface-cli | |
| # Login with your Hugging Face credentials | |
| hf auth login | |
| # Push your dataset files | |
| hf upload RGES-PIT/test . --repo-type=dataset | |
| ``` | |
| Python: | |
| ``` | |
| from huggingface_hub import HfApi | |
| api = HfApi(token=os.getenv("HF_TOKEN")) | |
| api.upload_folder( | |
| folder_path="/path/to/local/dataset", | |
| repo_id="RGES-PIT/test", | |
| repo_type="dataset", | |
| ) | |
| ``` | |
| HTTPS: | |
| ``` | |
| # Make sure git-lfs is installed (https://git-lfs.com) | |
| git lfs install | |
| git remote add origin https://huggingface.co/datasets/RGES-PIT/test | |
| # You'll be prompted for your HF credentials | |
| git push -u origin main | |
| ``` | |
| SSH: | |
| ``` | |
| # Make sure git-lfs is installed (https://git-lfs.com) | |
| git lfs install | |
| git remote add origin git@hf.co:datasets/RGES-PIT/test | |
| # Make sure SSH key is set in your user settings (https://huggingface.co/settings/keys) | |
| git push -u origin main | |
| ``` |