Managing Models
You can view, edit, move, and do other tasks with your Data Science models.
Viewing Model Details
On your project's home page, click Models.
The model information details tab displays the model information, such as the model artifact, model directory, git details, training script, description, created by, created on, OCID, and so.
The Git, model directory, and model training script metadata gives contextual information on the source code used to train the model stored in catalog. Diligent tracking of the provenance metadata significantly improves model reproducibility and auditability. All of these are optional.
From a Models view, you can:
-
Select a model to view its details and work with it.
-
Use the Actions icon (three dots) to view model details, edit it, move it to a different compartment, or delete it.
-
For an OCID: you can use Show to see the full name of the user that created the notebook session. Use Copy to copy the name to your clipboard to use elsewhere.
-
Use the List Scope filter to view models associated with your selected project in another compartment.
-
Filter models by status using the Model State drop-down list. The default is to view all status types.
-
You can filter models based on their tags by clicking add or clear next to Tag Filters.
From the Tags tab, you can view the tags that have been applied to the model. To update or remove a tag, find the tag you want and click the pencil icon next to it. Enter the new tag then save it or remove the tag by clicking Remove Tag.
Editing Models
You can either click the model's name or the Actions icon (three dots), and click Edit. You can change the name and description of the model and then save your changes.
Models are unchangeable. You can change a model by loading it back into a notebook session, making changes, and then saving the model as a new model.
Downloading Models
You can either click the model's name or the Actions icon (three dots), and click Download Model Artifact to download the model artifact ZIP archive to your local machine.
Applying Tags to Models
You can either click the model's name or the Actions icon (three dots), and click Add Tags or the Tags tab.
You can apply both defined and free form tags to models using Working with Resource Tags.
Moving Model Resources
You can move a model resource from its current compartment to a different one.
For example, you may want to move a model to promote it from a development compartment to production compartment, or to change the visibility of the model.
You can click the model's name or the Actions icon (three dots), and then click Move Resource. Alternatively, you could the select the destination compartment, and then click Move Resource.
Deactivating and Activating Models
Deactivating Models
You can either click the model's name or the Actions icon (three dots), and click Deactivate to mark an active model as inactive. You can reactivate it later.
Activating Models
You can either click the model's name or the Actions icon (three dots), and click Activate to mark an inactive models as active.
Deleting Models
You can either click the model's name or the Actions icon (three dots), and click Delete to delete a model.
When you delete a model, its metadata and saved ZIP artifact are deleted and cannot be restored.
Deleted models exist in lists for 30 days after being deleted. You can filter them out of lists using the State filter.
Using the API
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
Use the following operations to manage models: