cszhilu1998's picture
Upload folder using huggingface_hub
5024339 verified
Raw History Blame Contribute Delete
870 Bytes
#!/usr/bin/env bash
set -euo pipefail
MODEL_ROOT="/home/zhangzhilu/anaconda3/pretrained_models"
REPO="cszhilu1998/LiveWorld"
# 完整模型目录:保留配置、tokenizer、模型分片及索引
for model in \
Wan2.1-T2V-14B \
Qwen3-VL-8B-Instruct \
STream3R \
dinov3-vith16plus-pretrain-lvd1689m
do
hf upload "$REPO" "$MODEL_ROOT/$model" "$model" \
--repo-type model \
--exclude ".cache/**" \
--exclude ".git/**" \
--exclude "*.incomplete" \
--exclude "*.lock"
done
# LiveWorld State Adapter、LoRA
for component in state_adapter lora
do
hf upload "$REPO" \
"$MODEL_ROOT/LiveWorld/ckpts/$component/model.pt" \
"LiveWorld/ckpts/$component/model.pt" \
--repo-type model
done
# SAM3
hf upload "$REPO" \
"$MODEL_ROOT/sam3/sam3.pt" \
"sam3/sam3.pt" \
--repo-type model