Update an existing model using Jupyter
To update a model using the ModelOp Center Jupyter notebook, you must:
Have an existing model, minimally in the form of a source code file (e.g. mymodel.py file)
Have already registered the model with the ModelOp Center
Have already loaded a model in a Jupyter notebook for which you wish to publish updates.
For instructions on registering a model using the Jupyter notebook, see v2.1 Register a Model and Opening an existing model in Jupyter.
To update a model in Jupyter
Include Page | ||||
---|---|---|---|---|
|
Update an Existing Model Using the ModelOp Command Center
To update a model using the ModelOp Command Center, you must:
Have an existing model, minimally in the form of a source code file (e.g. mymodel.py file).
Have registered the model with the ModelOp Center.
To update a model in ModelOp Command Center:
Navigate to the ModelOp Command Center.
In the left column, click Models.
Select the model you want to modify from the list, and then click Model Source.. This opens the Model Details page.
In the “Model Info” tab of the Model Details page, the user can:
In the “Edit Metadata” section:
Edit the Model Name
Edit the Model Description
Add a tag
In the “Edit Functions” section:
Update each of the functions
To save the changes, select the “Update Model” button in the top right:
In the “Sources” tab, the user can modify the source code files directly by:
Selecting the source code file from the left
The code appears in a code cell. Modify the code in the cell.
Click the save icon in the top right corner of the cell.
In the “Schemas” tab, the user can modify the input and/or output schema files directly by:
Selecting the schema file from the left
The schema file appears in a code cell. Modify the schema in the cell.
Click the save icon in the top
right corner of the cell.
You can make similar changes in the Attachments, Input Schema, Output Schema, and Model Functions tabs. View Creatig In the “Attachments” tab, the user can add or delete attachments:
To delete an attachment:
Open the Attachments tab. The list of attachments associated with the registered model should appear.
Find the attachment that should be deleted.
Click the delete icon. The attachment will be removed from the registered model.
To add an attachment to an existing model:
Open the Attachments tab. The list of attachments associated with the registered model should appear.
Click the “add attachment” button in the top right
Locate the file that should be added as an attachment from your local machine and select the file for upload.
Click “Upload”
Refresh the page. The attachment should be added to the registered model