Light Logo
CLI (v0.57.3)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 <owner/name> [flags]

Examples

  Update the model's name
  $ wriftai models update user-001/my-model --new-name my-model-v2

  Clear the model's description
  $ wriftai models update user-001/my-model --clear-description

  Update and clear multiple fields in a single command
  $ wriftai models update user-001/my-model \
    --description "Updated model for image classification" \
    --license-url https://license.dev/v2 \
    --clear-source-url \
    --clear-paper-url \
	--clear-overview \
	--category-slugs "image-to-text,image-to-image"

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
  -h, --help                     help for update
      --license-url string       New license URL where the model's usage is specified
      --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
      --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 model

Options inherited from parent commands

      --debug   Enable debug mode

SEE ALSO