GitHunt
MR

mrutkows/granite-snack-cookbook

Granite Snack Cookbook -- easily consumable recipes (python notebooks) that showcase the capabilities of the Granite models

Granite Snack Cookbook

The "Recipes" in the Granite Snack Cookbook showcase the essential capabilities of IBM Granite models, in bite-sized instructional notebooks.

Recipes

Basic Capabilities

  1. Document Summarization

    Open In Colab
  2. Entity Extraction

    Open In Colab
  3. Function Calling

    Open In Colab

Compound Systems

  1. RAG

    Open In Colab
  2. Agentic RAG

    Open In Colab
  3. Travel planner Agent

    Open In Colab
  4. Prompt Declaration Language (PDL)
    1. Notebook that uses the PDL Jupyter Extension (Not compatible with Colab)
    2. Notebook that uses the PDL Python API (Not yet available in Colab, because the latter uses Python 3.10)

Tuning

  1. Fine Tuning Granite

    Open In Colab
  2. Loading a LoRA from Huggingface

    Open In Colab

Guardian

  1. Granite Guardian 3.0

    Open In Colab
  2. Granite Guardian 3.0 Watsonx Usage

    Open In Colab

Build Status

Testing Notebooks

Contributing

For information about contributing to this repo, code of conduct guidelines, etc., see the community CONTRIBUTING and Code of Conduct guides. All commits require DCO-signoff (discussed here) and GPG or SSH signing (discussed here). The GitHub recommended code security settings are enforced on this public repository (which include the signing requirement).

For more background and a FAQ, please see the community wiki

Licenses

The Granite Legal Cookbook's base license is CC BY 4.0.

Code in this repository, including in notebook cells, is licensed under Apache 2.0.

Any example datasets committed to this repository are licensed under CDLA Permissive 2.0.

IBM Public Repository Disclosure

All content in these repositories including code has been provided by IBM under the associated open source software license and IBM is under no obligation to provide enhancements, updates, or support. IBM developers produced this code as an open source project (not as an IBM product), and IBM makes no assertions as to the level of quality nor security, and will not be maintaining this code going forward.

Languages

Jupyter Notebook100.0%
Creative Commons Attribution 4.0 International
Created December 9, 2024
Updated December 9, 2024
mrutkows/granite-snack-cookbook | GitHunt