This recipe shows how to summarize a long document using Granite. The document used in the recipe is H.D. Thoreau’s “Walden” from Project Gutenberg. You will need a Replicate API token to run this recipe in Colab. Instructions for obtaining this credential can be found here.Documentation Index
Fetch the complete documentation index at: https://wwwpoc.ibm.com/llms.txt
Use this file to discover all available pages before exploring further.
Get started
Explore sample code in a GitHub repo
Try it out
Execute sample code in Colab