Skip to content

Getting Started with Watson X AI SDK

This lab demonstrates using the watsonx SDK to perform inference calls against a model hosted remotely on watsonx.

Prerequisites

This lab is a Jupyter notebook. Please follow the instructions in pre-work to run the lab.

Lab

Getting Started with Watson X AI SDK notebook Getting Started with Watson X AI SDK notebook

To run the notebook from your command line in Jupyter using the active virtual environment from the pre-work, run:

jupyter notebook notebooks/Bike_Sharing_Finetuning_with_Exogenous.ipynb

The path of the notebook file above is relative to the granite-workshop folder from the git clone in the pre-work.

Credits

This notebook is a modified version of the IBM Granite Community Getting Started with Watson X AI SDK notebook. Refer to the IBM Granite Community for the official notebooks.