Fuzzball Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

HuggingFace

The following syntax is appropriate for a secret that authenticates to the HuggingFace Hub.

type: hf
secret:
  token: hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The hf secret type stores a single HuggingFace user access token (a personal access token, or PAT) in the token field. Fuzzball sends this token as a bearer credential when pulling from the Hub, so the secret is required for gated or private repositories and for accounts that are subject to rate limits. Public repositories can be pulled without a secret.

The token is used by the hf:// volume ingress source. See HuggingFace ingress for how to reference the secret from a workflow.