All Products
Search
Document Center

Platform For AI:Export notebooks

Last Updated:Aug 23, 2023

You can export notebooks as local files in various formats so that you can view and share the notebooks.

Background information

Data Science Workshop (DSW) of Machine Learning Platform for AI (PAI) allows you to export notebooks as the following types of local files:
  • AsciiDoc files in the .asciidoc format
  • HTML files in the .html format
  • LaTeX files in the .tex format
  • Markdown files in the .md format
  • PDF files in the .pdf format
  • reStructuredText files in the .rst format
  • Executable scripts in the .py format
  • Reveal.js slides in the .html format

Procedure

  1. Go to the development environment of DSW.
    1. Log on to the PAI console.
    2. On the Overview page, select a region in the top navigation bar.
    3. In the left-side navigation pane, click Workspaces. On the Workspace list page, click the name of the workspace in which you want to export notebooks.
    4. In the left-side navigation pane, choose Model Training > DSW-Notebook Service.
    5. Optional: On the Interactive Modeling (DSW) page, enter the name of a DSW instance or a keyword in the search box to search for the DSW instance.
    6. Find the DSW instance and click Open in the Actions column.
  2. Open the notebook that you want to export.
  3. In the top navigation bar, choose File > Export Notebook As and select a format for the notebook that you want to export.Export notebooks
    Note The file formats in which you can export a notebook are configured in nbconvert. For more information, see nbconvert: Convert Notebooks to other formats.