HuggingFace
WednesdayAI supports the HuggingFace Inference API (serverless endpoints), giving access to thousands of public and private models hosted on the Hub.Prerequisites
Create a token at huggingface.co/settings/tokens with at least Read scope. Set it on the gateway host using either accepted variable name:Both
HUGGINGFACE_HUB_TOKEN and HF_TOKEN are accepted. If both are set, HUGGINGFACE_HUB_TOKEN takes precedence.Configuration
Selecting a model
owner/model-name format used on the Hub.
Troubleshooting
401 Unauthorized
401 Unauthorized
403 Forbidden — gated model
403 Forbidden — gated model
The model requires accepting terms on the HuggingFace Hub before your token can access it. Visit the model page and accept the access agreement.
Model does not support inference API
Model does not support inference API
Not all Hub models support serverless inference. Check the model page for an “Inference API” badge, or deploy the model to a dedicated endpoint.