if (FALSE) {
# Download to specific location
download_model(
"https://example.com/model.gguf",
file.path(tempdir(), "my_model.gguf")
)
# Download to cache (path will be returned)
cached_path <- download_model("https://example.com/model.gguf")
}
Run the code above in your browser using DataLab