Open luohao123 opened 3 weeks ago
You can try
huggingface-cli login --token $HUGGINGFACE_TOKEN --add-to-git-credential
or simply remove the token=True
But you might need to handle how to load hf datasets from local also. See #186 for some reference
huggingface_hub.errors.LocalTokenNotFoundError: Token is required (
token=True
), but no token found. You need to provide a token or be logged in to Hugging Face withhuggingface-cli login
orhuggingface_hub.login
. See https://huggingface.co/settings/tokens.How to use it for server can not connect internet?