In the name of God
This gist contains steps to setup Ubuntu 20.04
for deep learning.
Install Ubuntu 20.04:
Considering the lack of multi-threaded download support in the official huggingface-cli
, and the inadequate error handling in hf_transfer
, this command-line tool smartly utilizes wget
or aria2
for LFS files and git clone
for the rest.
--exclude
or --include
to skip or specify files, save time for models with duplicate formats (e.g., *.bin
or *.safetensors
).--hf_username
and --hf_token
to authenticate.HF_ENDPOINT
environment variable.