Document Summarization with Granite¶
Text summarization condenses one or more texts into shorter summaries for enhanced information extraction.
The goal of this lab is to show how you can use IBM Granite Code models in order to apply long document summarization techniques to a work of literature.
Prerequisites¶
This lab is a Jupyter notebook. Please follow the instructions in pre-work to run the lab.
Lab¶
To run the notebook from your command line in Jupyter using the active virtual environment from the pre-work, run:
jupyter notebook notebooks/Summarize.ipynb
The path of the notebook file above is relative to the granite-workshop
folder from the git clone in the pre-work.
Credits¶
This notebook is a modified version of the IBM Granite Community Document Summarization notebook. Refer to the IBM Granite Community for the official notebooks.