CLI (v0.40.0)Reference
wriftai models update
CLI reference for wriftai models update
wriftai models update
Update a model
Synopsis
Update a model
Only the fields provided via flags will be updated Fields not specified will remain unchanged
To clear a field's value (set it to nil), use the corresponding --clear-* flag For example, use --clear-description to remove the model's description
Note: You cannot use both a value flag (e.g., --description) and its corresponding clear flag (e.g., --clear-description) at the same time
wriftai models update [flags]Examples
Update the model's name
$ wriftai models update --owner user-001 --name my-model --new-name my-model-v2
Clear the model's description
$ wriftai models update --owner user-001 --name my-model --clear-description
Update and clear multiple fields in a single command
$ wriftai models update --owner user-001 --name my-model \
--description "Updated model for image classification" \
--hardware-identifier hw-1 \
--license-url https://license.dev/v2 \
--clear-source-url \
--clear-paper-url \
--clear-overview \
--category-slugs "image-to-text,voice-to-text"Options
--category-slugs strings List of model category slugs
--clear-description Clear the model's description
--clear-license-url Clear the model's license URL
--clear-overview Clear the model's overview
--clear-paper-url Clear the model's paper URL
--clear-source-url Clear the model's source URL
--description string New description of the model
--hardware-identifier string Identifier of the new hardware used by the model
-h, --help help for update
--license-url string New license URL where the model's usage is specified
--name string Current name of the model (required)
--new-name string New name of the model
-o, --output format Set output format. Supported formats: json, yaml (default json)
--overview string New overview of the model
--owner string Username of the model's owner (required)
--paper-url string New paper URL from where research info on the model can be found
--source-url string New source URL from where the model's code can be referenced
--visibility string New visibility of the modelOptions inherited from parent commands
--debug Enable debug modeSEE ALSO
- wriftai models - Operations related to models on WriftAI