StreamingBench / download_missing.sh
SitongGong's picture
upload StreamingBench (part 8)
82cd523 verified
Raw History Blame Contribute Delete
1.32 kB
#!/bin/bash
# 下载StreamingBench缺失的zip并解压到当前目录
# 需要下载的: 除Real-Time Visual Understanding之外的所有zip
set -e
cd /mnt/tokyo-ai/gst/StreamingBench
REPO="mjuicem/StreamingBench"
# 缺失的zip文件列表 (Real-Time Visual Understanding 已下载,跳过)
FILES=(
"Anomaly Context Understanding.zip"
"Emotion Recognition.zip"
"Misleading Context Understanding.zip"
"Multimodal Alignment.zip"
"Source Discrimination.zip"
"Proactive Output_1-25.zip"
"Proactive Output_26-50.zip"
"Scene Understanding_1-25.zip"
"Scene Understanding_26-50.zip"
"Sequential Question Answering_1-25.zip"
"Sequential Question Answering_26-50.zip"
)
for f in "${FILES[@]}"; do
echo ""
echo "=========================================="
echo "下载: $f"
echo "=========================================="
if [ -f "$f" ]; then
echo "已存在,跳过下载"
else
huggingface-cli download "$REPO" "$f" --repo-type dataset --local-dir .
fi
echo "解压: $f"
unzip -o -q "$f" -d .
echo "完成: $f"
done
echo ""
echo "=========================================="
echo "全部下载解压完成!"
echo "=========================================="
echo "sample总数:"
ls -d sample_*/ 2>/dev/null | wc -l