DATAENV / upload_dataset.example.ps1
Jitendra12421's picture
Upload 3 files
ddcb460 verified
raw
history blame contribute delete
576 Bytes
$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"