Learn R Programming

tidyllm (version 0.5.1)

list_hf_gguf_files: List GGUF Files Available in a Hugging Face Repository

Description

Calls the Hugging Face Hub API to list all .gguf files in a repository, along with their sizes. Useful for choosing a quantization level before calling llamacpp_download_model().

Usage

list_hf_gguf_files(.repo, .timeout = 30)

Value

A tibble with columns filename, size_gb, and url.

Arguments

.repo

Hugging Face repository ID in "owner/model" format (e.g. "Qwen/Qwen3-8B-GGUF").

.timeout

Request timeout in seconds (default: 30).