Pull, show and delete models
Usage
pull_model(model = NULL, server = NULL, insecure = FALSE)
show_model(model = NULL, server = NULL)
delete_model(model, server = NULL)
copy_model(model, destination = paste0(model, "-copy"), server = NULL)
Arguments
- model
name of the model(s). Defaults to "llama3.1" when
NULL
(except indelete_model
).- server
URL to an Ollama server (not the API). Defaults to "http://localhost:11434".
- insecure
allow insecure connections to the library. Only use this if you are pulling from your own library during development.
- destination
name of the copied model.
Details
pull_model()
: downloads modelshow_model()
: displays information about a local modelcopy_model()
: creates a model with another name from an existing modeldelete_model()
: deletes local model
Model names: Model names follow a model:tag format, where model can have an optional namespace such as example/model. Some examples are orca-mini:3b-q4_1 and llama3.1:70b. The tag is optional and, if not provided, will default to latest. The tag is used to identify a specific version.