On this page

Download Hugging Face files

Choose a file hosted on Hugging Bay and copy its download command.

Full quickstart with live test results: Hugging Face mirror

For CI, add uses: barneywohl/hugging-bay/packages/hf-endpoint-action@<reviewed-commit>. Action and devcontainer setup. Public files only.

Pick a hosted model

HF_ENDPOINT=https://hf.huggingbay.xyz hf download Qwen/Qwen2.5-0.5B-Instruct-GGUF qwen2.5-0.5b-instruct-q4_k_m.gguf

Download the file

Install the Hugging Face CLI first. With a file selected, run its command in your terminal. The client prints the saved path and may reuse a file already in your local cache.

Make it permanent

Add one line to your shell profile, then open a new terminal.

export HF_ENDPOINT=https://hf.huggingbay.xyz

To switch back to Hugging Face, remove that line or run unset HF_ENDPOINT (PowerShell: Remove-Item Env:HF_ENDPOINT), then open a new terminal.

Good to know
  • Public files we do not host go on to the same path at huggingface.co. Held files and org allowlists stay here.
  • We discard your saved Hugging Face token. Gated and private repos need a direct Hugging Face download with your own sign-in.
  • Transformers needs every required file in a model, including config, tokenizer, and weights.
  • Older installs may use huggingface-cli instead of hf download.
  • A file listing here does not prove your tool can load or run the model.
  • Public metadata can lag privacy changes by about 5 minutes; every download is checked again.

Updated .

Page sources

Page-copy source revision 8871bab84e1cf80aea1686a944ec335078a6c036 · Source files: apps/web/server.mjs, apps/web/lib/aeo-page.mjs, apps/web/lib/api-status-contract.mjs, apps/web/lib/agent-readable.mjs, apps/web/lib/docs-hub-model.mjs, apps/web/lib/compare-pages.mjs · Full revision record