Parameter-efficient fine-tuning with QLoRA and Hugging Face

  Рет қаралды 2,626

Julien Simon

Julien Simon

Күн бұрын

In this sequel to my previous video ( • Summarizing legal docu... ), I delve into optimizing the fine-tuning of a Google FLAN-T5 model for legal text summarization. The focus is on employing QLoRA for parameter-efficient fine-tuning. All it takes is a few extra lines of simple code in your existing script.
This methodology allows us to train the model with remarkable cost efficiency, utilizing even modest GPU instances, which I demonstrate on AWS with Amazon SageMaker. Tune in for a detailed exploration of the technical nuances behind this process.
⭐️⭐️⭐️ Don't forget to subscribe to be notified of future videos ⭐️⭐️⭐️
- Original model: huggingface.co...
- LoRA model: huggingface.co...
- Dataset: huggingface.co...
- Notebook: gitlab.com/jul...
Follow me on Medium at / julsimon or Substack at julsimon.subst....

Пікірлер: 4
@WhySoBroke
@WhySoBroke 10 ай бұрын
Every minute of your videos is more valuable than a month in an expensive USA “public” university... very very grateful
@juliensimonfr
@juliensimonfr 10 ай бұрын
That's super nice, thank you. Happy to help!
@AI_by_AI_007
@AI_by_AI_007 10 ай бұрын
I remember one short year ago you did the "Analyze SEC filings with Transformers for fun and profit" video and I did that jumpstart as a demo for an internal audience at work --- it just blew people away... Then a month later Chat GPT came out. It feels a lifetime ago... So much has changed. Your work is terrific and your community building is legendary. I just want to say Thank you 🤘
@juliensimonfr
@juliensimonfr 10 ай бұрын
Thank you for the kind words. Keep rocking 😀
Fine-tuning LLMs with PEFT and LoRA
15:35
Sam Witteveen
Рет қаралды 124 М.
Fine-tuning Large Language Models (LLMs) | w/ Example Code
28:18
Shaw Talebi
Рет қаралды 309 М.
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 48 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 10 МЛН
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 16 МЛН
LoRA explained (and a bit about precision and quantization)
17:07
Summarizing legal documents with Hugging Face and Amazon SageMaker
21:55
Fine-tune Stable Diffusion with LoRA for as low as $1
17:36
Julien Simon
Рет қаралды 8 М.
LoRA & QLoRA Fine-tuning Explained In-Depth
14:39
Entry Point AI
Рет қаралды 38 М.
Fine-Tune Large LLMs with QLoRA (Free Colab Tutorial)
14:45
1littlecoder
Рет қаралды 55 М.
Prompt Optimization and Parameter Efficient Fine Tuning
28:13
Toronto Machine Learning Series (TMLS)
Рет қаралды 733
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 48 МЛН