Link Search Menu Expand Document
AI Alliance Banner
Join Our Work Group   GitHub Repo

Edit this page on GitHub

Granite Community and Cookbooks from IBM

IBM introduces the Granite Community for building with IBM’s Granite Model Family.

The Granite family of foundation models span an increasing variety of modalities, including language, code, time series, and science (e.g., materials) - with much more to come. We’re building them with transparency and with focus on fulfilling rigorous enterprise requirements that are emerging for AI. If you’d like to learn more about the models themselves and how we build them, check out Granite Models.

The mission of the Granite Community organization is to work collaboratively across industries and geographies to leverage Granite to solve problems and bring value across use cases, from code generation and modernization, to forecasting and predictive maintenance, to materials discovery.

Our first goal is to build out a community kitchen for Granite, starting with cookbooks that have proven recipes to help enrich, adapt, and apply Granite models to real world applications.

First and foremost, the Granite Cookbooks provide open-source recipes for using these models in various practical scenarios. Successful recipes should leave the reader ready to begin planning similar work in their environment.

The first four Cookbooks in development are:

Some of the first recipes included simple use cases that demonstrate zero-shot inference with the code and time series models. The recipes are growing more complex to cover data preparation (including Data Prep Kit), fine-tuning, RAG, tool use, and agentic workflows.

The Granite Code Cookbook includes examples of code-specific patterns, including several that utilize analysis available from CodeLLM Devkit (also see a related blog entry).

The Cookbook recipes – Jupyter notebooks – are licensed under CC BY 4.0. Code is licensed under Apache 2.0 and example datasets licensed under CDLA Permissive 2.0.

Granite Models have been published to Replicate for remote use, and Ollama for local use by the recipes. To help assure the models are up-to-date, the Granite Cookbook recipes are automatically tested in every pull request, like you’d expect from any other software artifact.

The project board has more information on planned new recipes and improvements to the Cookbooks.

Please create issues or submit pull requests to the appropriate repos if you have suggestions for improving or expanding the recipes.

To find the community of Cookbook readers, please join the conversation on the “Granite Community” Discord server.