Skip to content

Tutorials

This section contains tutorials teaching key concepts in Stained Glass Core.

  • Creating Stained Glass for Image Classification


    The purpose of this notebook is to demonstrate how to use Stained Glass Engine to train a PyTorch model.

    View Notebook

  • Creating a Stained Glass Transform for a Large Language Model


    This tutorial demonstrates how to train a Stained Glass Transform for an LLM using stainedglass_core and PyTorch Lightning.

    View Notebook

  • Deploying Stained Glass Transform (Text)


    This tutorial demonstrates how to deploy a Stained Glass Transform for client applications. This has three main sections: 1.

    View Notebook

  • Deploying Stained Glass Transform for Text with ExecuTorch 📱


    This tutorial demonstrates how to export a pretrained Stained Glass Transform for Text (SGT4T) to ExecuTorch, producing a quantized .pte file that can run on mobile platforms using the...

    View Notebook