#!/usr/bin/env bash set -euo pipefail REPO_ID="${1:?Usage: $0 [repo-type]}" REPO_TYPE="${2:-model}" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if ! command -v hf >/dev/null 2>&1; then echo "hf command is not available. Install with: pip install -U huggingface_hub" >&2 exit 1 fi cd "$SCRIPT_DIR" hf upload "$REPO_ID" . \ --repo-type "$REPO_TYPE" \ --include "skillzero_best_checkpoints_20260506.tar.part-*" \ --include "SHA256SUMS" \ --include "*.md" \ --include "Dockerfile" \ --include "MANIFEST.txt" \ --include "upload_with_hf.sh"