Summarizing legal documents with Hugging Face and Amazon SageMaker @juliensimonfr
Summarizing legal documents with Hugging Face and Amazon SageMaker  @juliensimonfr
Uploaded April 2023 | Updated September 2026, 2 weeks ago
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.

October 2023: follow-up video on using QLoRA to optimize cost-performance: youtu.be/ebQ2wyn8RGM

⭐️⭐️⭐️ Don't forget to subscribe to be notified of future videos ⭐️⭐️⭐️

- Code: gitlab.com/juliensimon/huggingface-demos/-/tree/main/summarization-t5
- Model: huggingface.co/google/flan-t5-large
- Dataset: huggingface.co/datasets/billsum
Summarizing legal documents with Hugging Face and Amazon SageMakerMy AI found 15 critical issues in my code!Hugging Face / AWS roadshow - Zurich 🇨🇭🇨🇭🇨🇭Deploying Arcee SuperNova on AWSFast and accurate language identification with Hugging Face and Intel OpenVINOThis technology is a dream come true for creatorsStop Coding Alone! Build an Opus + M2.7 AI Expert TeamFunction calling with Arcee Caller and the OpenAI APISageMaker JumpStart: deploy Hugging Face models in minutes!Unlock the Future of AI with Open Source!Model routing with Open WebUI and Arcee ConductorProblem solving with the Arcee Nova model
Julien Simon |

Summarizing legal documents with Hugging Face and Amazon SageMaker

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER