ChessDataset / push_to_hf.sh
nabin2004's picture
Upload folder using huggingface_hub
b44f055 verified
raw
history blame contribute delete
279 Bytes
#!/usr/bin/env bash
# push_to_hf.sh — push current dir to HuggingFace Hub
# Usage: ./push_to_hf.sh [repo] [local_path]
# Defaults: repo=nabin2004/ChessDataset, path=.
REPO="${1:-nabin2004/ChessDataset}"
LOCAL_PATH="${2:-.}"
hf upload "$REPO" "$LOCAL_PATH" --repo-type=dataset