pip install --upgrade huggingface_hub
huggingface_hub, the command line utility hf is also installed. hf auth login allows to specify the hugging face token either by logging in on hugging face's website or by pasting the token. hf_ and will be stored under ~/.cache/huggingface/token and/or ~/.cache/huggingface/stored_tokens hf download HuggingFaceH4/zephyr-7b-beta
~/.cache/huggingface/hub. huggingface_hub.hf_hub_download().