model
Manage the file-based models in your model registry.
These actions affect the model registry on the current branch unless otherwise specified.
Parameters
modelbit model {action} [parameters]
{action}: Can be one ofaddorget--nameor-n: The name of the model in the registry--pathor-p: The local path for reading or writing the model file--branchor-b: Optional. Sets the git branch for the command. If run from outside of a Modelbit git directory the default value ismain. If run from within a Modelbit git directory then the current branch is used.
Examples
Uploading a model to the registry
Upload model.gguf to the registry as my_model:
modelbit model add --name my_model --path path/to/model.gguf
Downloading a model from the registry
Download my_model from the registry and store it as model.gguf:
modelbit model get --name my_model --path path/to/store/model.gguf