| llama_hf_list | R Documentation |
Queries the Hugging Face API for GGUF model files in the specified repository. Returns a data frame with file names, sizes, and detected quantization levels.
llama_hf_list(repo_id, token = NULL, pattern = NULL)
repo_id |
Character. Hugging Face repository in |
token |
Character or |
pattern |
Character or |
A data frame with columns:
Character. The file name within the repository.
Numeric. File size in bytes.
Character. Human-readable file size.
Character. Detected quantization level (e.g. "Q4_K_M")
or NA if not detected.
files <- llama_hf_list("TheBloke/Llama-2-7B-GGUF")
print(files)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.