ZiyuZhao98 commited on
Commit
bb588bb
·
verified ·
1 Parent(s): acb11cb

Upload hf_upload.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. hf_upload.sh +18 -0
hf_upload.sh ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+
4
+ REPO="ZiyuZhao98/quantization"
5
+
6
+ echo "📦 Uploading ALL files from current directory"
7
+ echo "➡️ Repo: $REPO"
8
+ echo
9
+
10
+ for f in *; do
11
+ if [ -f "$f" ]; then
12
+ echo "⬆️ Uploading $f"
13
+ huggingface-cli upload "$REPO" "$f"
14
+ fi
15
+ done
16
+
17
+ echo
18
+ echo "✅ Upload complete (append-only, no deletes)."