File size: 576 Bytes
ddcb460
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$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"