Save Command - Copy a trained model to a path of your choosing.
Functions
tuiml save [OPTIONS]
Copy a trained model to a path of your choosing.
Takes a model produced by tuiml train and writes a copy to the given destination, so it can be archived, checked into version control or shipped to another machine. The original stays available under its model ID, so this is a copy rather than a move.
Save a model into the current directory:
bash
$ tuiml save --model-id m1 --destination ./my_model.joblib
Save it into a models directory instead:
bash
$ tuiml save --model-id m1 --destination ~/models/rf.joblib
Options
--model-id
str required
Model ID returned by tuiml train
--destination
str required
Destination file path (e.g., './my_model.joblib', '/home/user/models/rf.joblib')
--json-output
flag
Output raw JSON