Registrare un account Hugging Face (opzionale)
Impostare il mirror cinese di HuggingFace
- Ubuntu
Shell
sudo nano ~/.bashrc
# Aggiungi in fondo al file
export HF_ENDPOINT=https://hf-mirror.comShell
source ~/.bashrc
echo $HF_ENDPOINT
# Output
# https://hf-mirror.com- Mac
Shell
sudo nano ~/.zshrc
# Aggiungi in fondo al file
export HF_ENDPOINT=https://hf-mirror.comShell
source ~/.zshrc
# Output
# https://hf-mirror.comCreare un Token
https://huggingface.co/settings/tokens



Annotare il proprio Token
Ad esempio, il mio è:
Shell
hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAssociare il Token
Shell
hf auth login
hf auth whoami
Creare un Dataset Repo




