Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.68 KB

models.md

File metadata and controls

52 lines (35 loc) · 2.68 KB

Working with models

Models are designed for storing and exporting computation results in {{ ml-platform-name }} projects.

Creating a model {#create}

  1. {% include find project %}

  2. Open the project.

  3. Select or create a notebook with the code that will create a model variable in RAM.

  4. Run the code in the notebook using the selected configuration.

  5. In the right-hand panel, select models. In the window that opens, click Create model.

  6. Select the name of the variable to create your model from.

  7. Give your model a name and add a description if needed.

  8. Click Create.

    The new model will appear in the list of available project models. Creating a model may take some time.

Loading a model {#load}

You can load the saved model to the notebook's interpreter state and use it in your computations:

  1. {% include find project %}

  2. Open the project.

  3. In the right-hand panel, select models. In the window that opens, select the model to load and click options.

  4. Select loadLoad.

  5. Specify the name of the variable to load the model to and click Load.

    Once loaded, the model will be available in the code in the variable you specified.

Deleting a model {#delete}

You can delete a model in the {{ jlab }}Lab interface or on the project page under Resources.

{% list tabs %}

  • {{ jlab }}Lab

    1. Open the {{ jlab }}Lab interface and select models in the right-hand panel.
    2. In the list of models, choose the one you want to delete, click options, and select deleteDelete.
    3. Click {{ ui-key.yc-ui-datasphere.common.submit }}.
  • Project resources

    1. {% include find project %}
    2. Under {{ ui-key.yc-ui-datasphere.project-page.project-resources }}, click modelModel.
    3. In the list of models, select the one you want to delete.
    4. On the view model page, click More and select delete{{ ui-key.yc-ui-datasphere.common.delete }}.
    5. Click {{ ui-key.yc-ui-datasphere.common.submit }}.

{% endlist %}

{% include deletion-time %}