Access example notebooks
Your notebook instance contains example notebooks provided by Amazon SageMaker AI. The example
notebooks contain code that shows how to apply machine learning solutions by using SageMaker AI.
Notebook instances use the nbexamples
Jupyter extension, which enables you
to view a read-only version of an example notebook or create a copy of it that you
can modify and run. For more information about the nbexamples
extension,
see https://github.com/danielballan/nbexamples
Note
Example notebooks typically download datasets from the internet. If you disable SageMaker AI-provided internet access when you create your notebook instance, example notebooks might not work. For more information, see Connect a Notebook Instance in a VPC to External Resources.
Use or View Example Notebooks in Jupyter Classic
To view or use the example notebooks in the classic Jupyter view, choose the SageMaker AI Examples tab.
To view a read-only version of an example notebook in the Jupyter classic view, on the SageMaker AI Examples tab, choose Preview for that notebook. To create a copy of an example notebook in the home directory of your notebook instance, choose Use. In the dialog box, you can change the notebook's name before saving it.
Use or View Example Notebooks in Jupyterlab
To view or use the example notebooks in the Jupyterlab view, choose the examples icon in the left navigation panel.
To view a read-only version of an example notebook, choose the name of the notebook. This opens the notebook as a tab in the main area. To create a copy of an example notebook in the home directory of your notebook instance, choose Create a Copy in the top banner. In the dialog box, type a name for the notebook and then choose CREATE COPY.
For more information about the example notebooks, see the SageMaker AI examples GitHub
repository