| sd_download_model | R Documentation |
Downloads a model bundle from the public Kaggle Models registry and unpacks
it into dest. Mirrors the behaviour of the Python kagglehub
package (kagglehub.model_download("owner/model/framework/variation"))
but uses only base R – no Python dependency.
sd_download_model(
handle = "lbsbmsu/flux-2/gguf/default",
dest,
version = NULL,
files = NULL,
verbose = FALSE
)
handle |
Model handle in kagglehub form
|
dest |
Destination directory for the unpacked files. Created if it does not exist. Required. |
version |
Integer version number. If |
files |
Optional character vector of file names to extract from the
bundle. If |
verbose |
Logical; print progress messages. Defaults to |
Kaggle serves each model version as a single .tar.gz bundle; the whole
bundle is downloaded even when only some files are needed. Only public models
are supported.
The path to dest (invisibly), containing the model files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.