-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_download_models.sh
25 lines (21 loc) · 1.16 KB
/
run_download_models.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
HF_TOKEN=$1
if [[ -z ${HF_TOKEN} ]]; then
HF_TOKEN="YOUR_HF_TOKEN" # https://huggingface.co/settings/tokens
fi
CACHE_DIR=$2
if [[ -z ${CACHE_DIR} ]]; then
CACHE_DIR="${HOME}/.cache/huggingface/"
fi
python3 utils/download_hf_model.py --hf_token "${HF_TOKEN}" --cache_dir "${CACHE_DIR}" --trust_remote_code --verbose \
--hf_id "meta-llama/Llama-3.2-1B-Instruct"
python3 utils/download_hf_model.py --hf_token "${HF_TOKEN}" --cache_dir "${CACHE_DIR}" --trust_remote_code --verbose \
--hf_id "meta-llama/Llama-3.2-3B-Instruct"
python3 utils/download_hf_model.py --hf_token "${HF_TOKEN}" --cache_dir "${CACHE_DIR}" --trust_remote_code --verbose \
--hf_id "meta-llama/Llama-3.1-8B-Instruct"
python3 utils/download_hf_model.py --hf_token "${HF_TOKEN}" --cache_dir "${CACHE_DIR}" --trust_remote_code --verbose \
--hf_id "Qwen/Qwen2.5-7B-Instruct"
python3 utils/download_hf_model.py --hf_token "${HF_TOKEN}" --cache_dir "${CACHE_DIR}" --trust_remote_code --verbose \
--hf_id "google/gemma-7b-it"
python3 utils/download_hf_model.py --hf_token "${HF_TOKEN}" --cache_dir "${CACHE_DIR}" --trust_remote_code --verbose \
--hf_id "mistralai/Mistral-7B-Instruct-v0.3"