Using Sample Notebook Instances of ModelArts

ModelArts provides sample Jupyter notebooks to help beginners learn how to use ModelArts notebook instances.

Sample Jupyter notebooks use the nbexamples extension. For more information about the nbexamples extension, see nbexamples.

Previewing Sample Notebook Instances of ModelArts

  1. Create and open a notebook instance or open an existing notebook instance in the notebook instance list.
  2. On the Jupyter page, click the ModelArts Examples tab. Examples such as Basic ModelArts Python Sdk and Machine Learning Introduction are listed on this tab page. You can view details about each sample notebook instance and preview a sample notebook instance by clicking Preview in the row of the instance.
    Figure 1 ModelArts Examples tab page

Operations Allowed on the ModelArts Examples Tab Page

  1. Create and open a notebook instance or open an existing notebook instance in the notebook instance list.
  2. In the Jupyter dashboard, click the ModelArts Examples tab, and click Use to the right of the required sample notebook instance.
  3. In the displayed Create a copy in your home directory dialog box, enter a new .ipynb file name and click Create copy to save and open the new .ipynb file. You can use the default file name. Figure 3 shows an opened sample notebook file.
    To use a sample notebook instance is to create a copy for it, where the copy has the same code as the sample notebook instance.
    Figure 2 Creating a copy
    Figure 3 Opened sample notebook file