Examples¶
This section contains examples of Stained Glass Core in action.
-
Cancer image classification
The purpose of this notebook is to demonstrate how to use Stained Glass Core to create a Stained Glass for a pretrained base model. Adding Stained Glass Core to a training/testing loop only requires the following changes in this order: 1. -
Creating Stained Glass for LLMs Recipe (with logging)
This notebook provides a full recipe for creating a Stained Glass Transform for LLMs with additional logging to track the evolution of metrics, parameters, generated text, and obfuscation scores during training.
-
Inference with Mistral 7B
This notebook demonstrates using a pre-trained Stained Glass Transform to transform text inputs for a Mistral 7B model.