| $ErrorActionPreference = "Stop" | |
| # Usage: | |
| # 1. Install/auth once: | |
| # pip install -U huggingface_hub | |
| # huggingface-cli login | |
| # 2. Edit $RepoId below. | |
| # 3. Run this from the dataset folder: | |
| # powershell -ExecutionPolicy Bypass -File .\upload_dataset.example.ps1 | |
| $RepoId = "your-hf-username/your-forecasting-dataset" | |
| $Here = Split-Path -Parent $MyInvocation.MyCommand.Path | |
| huggingface-cli upload ` | |
| --repo-type dataset ` | |
| $RepoId ` | |
| $Here ` | |
| . ` | |
| --include "Data/**" ` | |
| --include "Alt Data/**" ` | |
| --include "README.md" ` | |
| --include ".gitattributes" | |