HuggingFace Model Downloader

bodaay·bodaay.hfdownloader

Simple go utility to download HuggingFace Models and Datasets

The HuggingFace Model Downloader is a utility tool for downloading models and datasets from the HuggingFace website. It offers multithreaded downloading for LFS files and ensures the integrity of downloaded models with SHA256 checksum verification.

winget install --id bodaay.hfdownloader --exact --source winget

Latest 3.4.0·October 4, 2026

Release Notes

Export, Windows Links & Smarter Quantization Picking Highlights Copy what you already downloaded out as plain files for LM Studio, Ollama or llama.cpp without re-downloading, a cache that works on Windows without Developer Mode, download huge sharded models in batches, and pick EXL2/EXL3 bitrates that live on separate branches. Export & Flat Files (#83, #91)

  • hfdownloader export copies a cached repo out as plain files in its own layout — nothing is re-downloaded, and the export is independent of the cache. -F exports only some weights (tokenizers and configs always come along), -b picks a revision, and --mode hardlink shares the cache's disk space instead of copying (same drive only).
  • Web UI: "Export as real files" on any cached repo, copied to //. Enabled with serve --export-dir ; without it the API refuses, so it can't write anywhere else. Windows: Hardlinks Instead of Missing Links
  • Without Administrator/Developer Mode, Windows used to skip the cache's links entirely — files ended up only as blobs/, invisible to Python, the HF CLI and you. hfdownloader now uses hardlinks there (no extra disk space). On drives without any links (FAT/exFAT) it copies, asking once first in an interactive terminal.
  • New --link-mode auto|symlink|hardlink|copy (download and serve, config key link-mode).
  • hfdownloader rebuild repairs caches written by older Windows builds (recreates the missing snapshot entries from the download manifest). Downloading
  • --shards 1-100 (or 1-50,120-185) downloads only those shards of split files, so a huge model can be fetched in batches (#90).
  • Quantizations on branches (#94): EXL3/EXL2 repos that keep each bitrate on its own branch (turboderp/...-exl3: 4.00bpw, SC_6.00bpw_H6_V6; bartowski exl2: 4_25, 6_5) are listed with bits, head bits and size; analyze recommends one and -b downloads it (CLI, analyze -i and the web UI).
  • Weight-format choice for every model type (safetensors, PyTorch, ONNX, TensorFlow, TFLite, Flax, OpenVINO, Rust) — e.g. whisper-tiny's recommended download is 148 MiB instead of 580 MiB of four formats.
  • GGUF repos offer every mmproj precision; diffusers LoRAs are detected. Web UI & API
  • Pause button now appears on jobs that waited in the queue; download speed is shown; skipped files show as "skipped".
  • Saving settings no longer wipes other config keys (cache-dir, stall-timeout, ...), validates values (bad values used to break every later job) and writes the config file privately (0600).
  • A second download of the same repo with different filters is its own job; deleting a repo's cache while it downloads is refused (409).
  • Analyze and plan honor your proxy, return 404/401 for missing or gated repos, and no longer cut off slow analyses of huge repos.
  • Request bodies are capped at 1 MiB; --auth-user requires --auth-pass. Security
  • Revisions are validated wherever they become paths (download, export, web API): ..-style revisions could read files outside the cache through the new export endpoint during this release cycle (fixed before release). Behavior Changes
  • Go 1.25 is now the minimum for building from source (security fixes in golang.org/x/net require it; Go 1.24 is no longer supported upstream). Release binaries and the Docker image are built with Go 1.26.8.
  • On Windows, cache entries are hardlinks instead of missing.
  • Filtered GGUF downloads also skip large LFS .imatrix files.
  • list/info show sizes as KiB/MiB/GiB. Internal
  • golang.org/x/net v0.56.0 / x/sys v0.46.0: govulncheck finds no vulnerabilities; staticcheck clean; the codebase is gofmted.
  • Docs (docs/CLI.md, docs/API.md, README) were checked flag by flag and endpoint by endpoint against the binary. Full Changelog: https://github.com/bodaay/HuggingFaceModelDownloader/compare/v3.3.0...v3.4.0

Installer type: portable

x64—8AE43EF001D31D32030AB42710EC4A721C8544375AEC72676E94C96FD626B625

Details

Homepage
https://github.com/bodaay/HuggingFaceModelDownloader
License
Apache-2.0
Publisher
bodaay
Support
https://github.com/bodaay/HuggingFaceModelDownloader/issues
Moniker
hfdownloader

Tags

huggingface

Older versions (13)

3.3.0
x64—2458E5290B54A145F3B93F6AB3870FF1BFB2A10391DCEC2A910A1F19AEE2382A
3.2.0
x64—F700C84BFFC00B9E12FF47BA95FBE5FF89595770E186D0F97B0B3D163079B676
3.1.0
x64—520DF27B043D3A0581C239E81086B8CB289FED402B6F6846FBF5E15D0ED9BE84
3.0.4
x64—B6CA755E68B5EC21041A542E75A146A47D2964C519998505CC4CD212496D2D34
3.0.3
x64—13A78637EA43412D1B53AD093FD4FB2EEC0AF6DC5AB019A3EB73DA1DBC3E1B4C
3.0.1
x64—2E577B2C33BB92D74758D0D98D8E4CC64F03C34C8A77B31FD217B02E008B6855
3.0.0
x64—8FBEB80B90135315955D9E362853EA354068241817533B991A6302CBEB802988
2.3.4
x64—2115E3A4C395DBC37F76FBA2E6DD5FED81A922B10E0FF13C163E532187B205D3
2.3.3
x64—6352DD10C47B2BBB518F5C2135499C3F907BD6E9623681B435F7B16122021A29
2.3.1
x64—CBE24A568E757D3902DC12D85D1E49AD669A7147CDFD2A783B067ACF935E3AC0
2.3.0
x64—D3D1D4236AF63491EEB33A039BA55B049132F8A4F126A80198BBFE91AB6D0B51
2.0.0
x64—17623348A58057D3F039DD118556A9952FA028AAC7D8B799DA90E57A5E99CE4A
1.4.2
x64—2F8E7CF368B379E0F93200E2005B9B1CD34E1FD6863EDC9ECB6BECC7A721BE93