File size: 219 Bytes
b10121d
 
 
 
 
 
 
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

QUEUE_FILE="$1"

for model in $(tail -n +4 $QUEUE_FILE  | awk '{print $2}'); do
  HF_HOME=/data/leaderboard/hfcache huggingface-cli download $model --revision $(cat models/$model/revision.txt)
done