public static downloadGGUF(repository as String, quantization as ModelQuantization, revision as String = "main", offline as Boolean = false, token as String = "", verbose as Boolean = true) as HubSnapshot
Downloads only the selected GGUF file group, using pinned revision URLs, bounded resumable transfers, byte progress and SHA-256 verification. Cache manifests are variant-specific; completed hits perform no weight scan. Currently executable formats are checked before any large download.
| Parameter | Description |
|---|---|
repository | Hub owner/name. |
quantization | Exact variant, or AUTO for an unambiguous Q8_0 group. |
revision | Branch, tag or commit. |
offline | Require an already complete local snapshot. |
token | Optional private-repository token. |
verbose | Display download progress. |
Snapshot containing the selected weights only.
snapshot = HubClient.downloadGGUF("owner/model-GGUF", ModelQuantization.Q8_0)