Importing the workshop files into the JupyterLab environment

The JupyterLab environment is web-based, but all operations run on Red Hat OpenShift AI and are backed by the OpenShift cluster. This configuration allows you to run notebooks without installing local tools or consuming local CPU, GPU, or memory resources.

Prerequisites

You created a workbench, as described in Creating a workbench and selecting a workbench image.

Procedure
  1. In the Workbenches tab for your project, click the link for your workbench. If prompted, log in and allow JupyterLab to authorize your user.

    Open workbench

    Your JupyterLab environment window opens.

    This file-browser window shows the files and folders that are saved inside your own personal space in OpenShift AI.

  2. Bring the content of this workshop inside your JupyterLab environment:

    1. On the toolbar, click the Git Clone icon:

      Git Clone icon
    2. Enter the following workshop Git https URL:

      https://github.com/rh-aiservices-bu/fraud-detection.git
      Git Modal
    3. Select the Include submodules option, and then click Clone.

    4. In the file browser, double-click the newly-created fraud-detection folder to expand its contents.

      Jupyter file browser
    5. In the left navigation bar, click the Git icon, and then click Current Branch to expand the branches and tags selector panel.

      1. On the Branches tab, in the Filter field, enter main.

        Git Clone icon
    6. Select origin/main.

      The current branch changes to main.

Verification
  1. In the left navigation bar, click the file browser icon to view the notebooks that you cloned from Git.

    Jupyter file browser - fraud-detection
  2. Verify that the Git version at the bottom of the JupyterLab window is main.

or