DEV Community

Julien Simon
Julien Simon

Posted on • Originally published at julsimon.Medium on

Video: Summarizing legal documents with Hugging Face and Amazon SageMaker

Real-life generative AI! In this video, I show you how to fine-tune a Google FLAN-T5 model to summarize legal text. We first deploy the model straight from the Hugging Face hub to Amazon SageMaker, and we evaluate it on legal data. Then, using GPU instances managed by SageMaker, we fine-tune the model with a Hugging Face script and we deploy it again.

Top comments (0)