Review and use sample Jupyter Notebooks that use the Python client library for model evaluations to demonstrate features and tasks.
When you use a sample notebook to demonstrate features and tasks with the Python client, you must be comfortable with coding in a Jupyter Notebook. A Jupyter Notebook
is a web-based environment for interactive computing. You can run small pieces of code that process your data, and then immediately view the results of your computation. With sample Jupyter Notebooks, you can complete tutorials to demonstrate
tasks such as building, training, and deploying models and configuring model evaluations.
Sample notebooks
Copy link to section
View or run the following Jupyter notebooks to learn how to complete different tasks:
Calculate the Adversarial robustness metric to measure how your model defends against attacks such as prompt injections, jailbreaks, and system prompt leakage.
Use CSV files of scored data to generate embeddings for the input and output columns and download the CSV file with the model output that contains embeddings.
Generate embeddings for existing records in the payload table, provide new scored data frames to generate and store records with embeddings in the payload table, or configure and evaluate drift v2 evaluations.
About cookies on this siteOur websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising.For more information, please review your cookie preferences options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.