Download phi3 model
Install huggingface_hub cli
If you are in China, please adding variable HF_ENDPOINT=https://hf-mirror.com.
export HF_ENDPOINT=https://hf-mirror.com
pip install huggingface_hub -U
Login huggingface_hub
- Please change the token of your own token on huggingface_hub : Huggingface
huggingface-cli login --token <hf_xxxxxxxxxxxxxxx>
NOTE: Please keep your token in secret!!!
Download phi3 model by using huggingface-cli
cd models/
huggingface-cli download microsoft/Phi-3-mini-4k-instruct --resume-download --local-dir ../models/microsoft/Phi-3-mini-4k-instruct