quantization / hf_upload.sh
ZiyuZhao98's picture
Upload hf_upload.sh with huggingface_hub
bb588bb verified
raw
history blame contribute delete
331 Bytes
#!/bin/bash
set -euo pipefail
REPO="ZiyuZhao98/quantization"
echo "📦 Uploading ALL files from current directory"
echo "➡️ Repo: $REPO"
echo
for f in *; do
if [ -f "$f" ]; then
echo "⬆️ Uploading $f"
huggingface-cli upload "$REPO" "$f"
fi
done
echo
echo "✅ Upload complete (append-only, no deletes)."